View Single Post
Old 10-28-2012, 01:46 PM   #5
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,009
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
FYI, checking Preferences > Searching > 'Limit the searched metadata' and setting the columns to search to 'title, authors, tags, series, publisher, comments, identifiers' (NOT any of my custom columns) speeds up the display searches for me a fair bit.

By rights, I wouldn't expect it to, since the searches SmartEject uses are all prefixed with a column.

The call to self.gui.library_view.model().db.search_getting_id s(...) is very very fast.

The call to self.gui.search.do_search() after self.gui.search.setEditText(...) is much slower. If do_search() doesn't do the same prefix optimization, that could explain the speed up.
JimmXinu is offline   Reply With Quote