View Single Post
Old 04-15-2011, 04:53 AM   #52
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kiwidude View Post
What happens when a user clears the search and goes back to viewing all the books? Will that be slower than it is now?
Yes, because it must redo the sort, this time on the entire cache. Clearing the search will cost the same as a sort currently costs, where before it was close to free.

Edit:
Quote:
Originally Posted by kiwidude View Post
From a search perspective I would have thought optimising for the 99% case of a far smaller search subset and having that displayed faster would be a nice win. I guess the question is "how much" slower is it for very large searches?
The worst case slowdown is the time it currently takes to do a sort. One would pay that cost on every search, instead of only when sorting.

Last edited by chaley; 04-15-2011 at 04:55 AM.
chaley is offline   Reply With Quote