View Single Post
Old 07-10-2013, 12:40 PM   #23
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: 12,495
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
You should be able to reduce the sort overhead by using a virtual library, though off hand I can't recall if the current database code restricts to the VL when sorting or not, I know the new db code does.
It does a search of all records to build the VL, then sorts the results of that search. One would need to see the VL search expression to know which of those two operations is the slower one.
chaley is offline   Reply With Quote