Moderator: Community Team
lancehoch wrote:I merged your two threads together. You do not need to start a new one for the form.
ronc8649 wrote:lmfao......
lackattack wrote:Merged duplicate suggestions
greenoaks wrote:lackattack wrote:Merged duplicate suggestions
why was this rejected ?
blakebowling wrote:greenoaks wrote:lackattack wrote:Merged duplicate suggestions
why was this rejected ?
Lack didn't move it. I did.
Also, it was moved because the MOD doesn't work this way, and the queries required to get this information would drastically increase the load time of the page.
greenoaks wrote:blakebowling wrote:greenoaks wrote:lackattack wrote:Merged duplicate suggestions
why was this rejected ?
Lack didn't move it. I did.
Also, it was moved because the MOD doesn't work this way, and the queries required to get this information would drastically increase the load time of the page.
wouldn't it take about 3 times as long
blakebowling wrote:greenoaks wrote:wouldn't it take about 3 times as long
The way they are stored in the database is (for those that have more than one medal) 1 row = bronze, 2 rows = silver, and 3 rows = gold. Therefore you would have to search only those with b/s/g and find the users that have exactly 3 matches, then those with exactly 2 matches, then with 1. This would add 4 queries to the page, bringing the load time to around 8 seconds again (the low-end of what it was before I optimized it).
greenoaks wrote:blakebowling wrote:greenoaks wrote:wouldn't it take about 3 times as long
The way they are stored in the database is (for those that have more than one medal) 1 row = bronze, 2 rows = silver, and 3 rows = gold. Therefore you would have to search only those with b/s/g and find the users that have exactly 3 matches, then those with exactly 2 matches, then with 1. This would add 4 queries to the page, bringing the load time to around 8 seconds again (the low-end of what it was before I optimized it).
why would you do that ?
wouldn't you just do a count of row 3 for the gold
a count of row 2 for the silver
& a count of row 1 for the bronze
Dako wrote:Can you please send me a dump of the table for medals? Let's say 1000-5000 rows would be ok. I will try to see how complex it will be to build a decent query. Just upload it somewhere and PM me the link.
Also - what about caching the results? Do not say it is that hard.
Dako wrote:A pity. However, I think is would be wiser to adapt this module to the CC totally, then to hold back because of the future compatibility (which is broken already since you modified some parts of the code).
Well, you should know better because you can see it, so I can just speculate.
Return to Archived Suggestions
Users browsing this forum: No registered users