View Single Post
Old 12-30-2021, 11:18 AM   #54
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Okay, just pushed a sha256 hash based storage for zip modification date approach top master.

Caveats: if not tied to the file's relative path in the zip and instead tied to the file's contents (via a hash), it is possible to confuse the zip modification dates of two files that are absolutely identical in everything but zip modification date. But that is just something to live with if this is more useful.

Please give that a try. If that is more useful, please let me know and I will add a General Setting box, something along the lines of:

[x] Preserve Zip Entry File Modification Dates when possible


But before adding any setting I would like to see epub loading times comparing loading the same large epub 5 times both before and after these changes so we know what if any impact it has on loading times.

It might not impact things much as it could be dwarfed by the zip decompression times and file read/write times.
KevinH is offline   Reply With Quote