| ▲ | koolba 4 hours ago | |||||||
That’s pretty funny! I’ve seen optimizations like this for reporting systems where rather than taking the top N item matching filter X, they cheat by taking the top M (where M > N) items and then filter it client side to N items matching filter X. As long as the results are enough to populate the page you don’t notice the difference and it’s usually faster as you reuse the prior ranking. But if not, you get this exact situation. | ||||||||
| ▲ | zahlman 3 hours ago | parent [-] | |||||||
I assume the reason this is faster is because they cache for specific values of M? | ||||||||
| ||||||||