View Single Post
Old 04-12-2011, 11:24 AM   #17
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,731
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Starson17 View Post
Yes, less than 20.
Cool - this version should definitely fix that then. It was to do with updating the status bar while it scans, and not updating it too frequently as Calibre stops drawing updates after a while. However this plugin is so blindingly fast searching for dups I will probably just rip out the status bar updates completely anways.
Quote:
I seem to have lost a post, but basically, it said I'd find a "mark all duplicate groups as not duplicates" useful. I also wondered if you were persistently holding the duplicate groups somewhere, or just rerunning the finder each time. Either way, some way to "clear all" persistent entries (dupes and false positives) would be useful, if you don't already have it.
I didn't delete it, honest

At the moment the "Persistence" is as follows:
(1) The sets of duplicate groups are held in memory only. As it takes less than a second to run the most complex duplicate search on a 40,000 book library requiring a user to re-run when they restart calibre/switch libraries is not a decision to be made based on performance (though it might on other factors).
(2) The sets of "Not duplicates" will be stored in the JSON config file, and obviously manipulated in memory.

So in terms of "clearing" the results of a find, strictly speaking the user doesn't need to do anything as books are not updated with custom columns etc. There is a temporary in-memory special marking of the group under consideration but I don't think that's worthy of note. As soon as they user does some other action reusing that feature like a Quality Check or using Temp Marker that gets reset anyways.

To clear all your "not duplicates" the user would just use the "Show marked not duplicates", select all and choose "Remove from not duplicates".

Last edited by kiwidude; 04-13-2011 at 07:36 PM. Reason: Remove attachment as later version in this thread
kiwidude is offline   Reply With Quote