Quote:
Originally Posted by kovidgoyal
I would suggest minimizing writes to the db. i.e. keep your lists in memory until the end of the search and only then write to the database, preferably with a single executemany call.You probably need to add another API method to database2 for that.
|
I even think plugins should not have info in the Calibre db.
Maybe a second db that is accessible by the Calibre API.
Reason: (other topic but related to your remark)