View Single Post
Old 09-18-2012, 12:11 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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kiwidude View Post
@chaley - but does the formats formula actually have to get its values from the mi object? I've not looked into the code one iota around this btw, just speculating out loud and presuming your formula parsing at some point translates the word "formats" into some function call?
The basic list of formats comes from the DB. The accuracy of that list for a given book is checked when you refer to the list in a template such as "{formats}" or use one of the formatter functions to get info about the formats.
Quote:
I'm just wondering whether a special case can be made of it, since I would suggest it is one of the most desirable custom columns to have (for users who store more than one format) but can have such a negative startup time impact. I'm aware of the possibilities of a user deleting stuff out of the library folders directly getting it out of sync, but if it offers the possibility of a fast startup to reward those who don't do anything so stupid that gets my vote
The problem is that people forget promises "not to do anything stupid" and they file a bug report saying that the list is wrong. At that point one of the two of us needs to take 15 to 30 minutes to figure out what happened and reply, and even longer if the necessary info isn't in the report.

That said, the change isn't hard. If Kovid agrees, I can make the change. I will ask him. However, I really don't want to own the certain-to-happen bug reports, and I suspect that he won't want to either.
chaley is offline   Reply With Quote