Quote:
Originally Posted by kiwidude
@chaley - you are probably already considering it but in you want prompting - would you consider changing the calls behind the formats column so it doesn't touch the disk and instead just uses the formats calibre has recorded in the database for each book? I too have a formats column as it is a darned handy one to have. I don't have enormous startup times by any means, but if I can shave time off without losing functionality that sounds a win to me.
|
Actually I am not considering it.
The problem is that the DB can be wrong. When getting the definitive list of formats, db2 checks that the files are really there. This code was added at some point to fix a user-reported bug. Later the code was added to delay evaluation of the check until the formats info is actually used.
If the existence check is removed, then it would be very possible that mi.formats would contain items that do not really exist. This isn't something I want to do. If someone else wants to make such a change, and assuming Kovid would accept the change, then well and good. That person would own the consequences.