New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cre cache: allow for disabling compression #3670
Conversation
With ["cre_compress_cached_data"] = false in settings.reader.lua. Not using compression for cache files does indeed take more space, but it does speed up opening, rendering, page turns, and closing, with big documents. Bump base and crengine.
Mentionning that this setting |
I don't understand why I was regularly waiting for minutes for certain books to open. Now, any book I have opened at least once opens in a second or two. The trade-off? A little less free memory (I can still have reading material for the next decade or more with me). When people take their e-readers into their hands, they want to read, not wait. Please consider making this the default behavior! |
If you have such a file, could you attach it after an ebookscrambler treatment? |
They may also want their memory/SDCard to not die because of too many read/write :) Last time I checked (5 years ago, above), there was no sensible difference in loading time.
I find this hard to believe that you'd have to wait minutes with a compressed cache. |
Tested on my 8 years old Kobo Glo HD, with my reference big book (a Bible):
So, there again, no noticable difference - except for the file size. |
I didn't do any tests right now but that maps to my prior experience on my H2O. |
I tried with multiple epub files: slow loads only happen the first time a book is opened. The difference between Now I am not sure, why I remembered so distinctly, that the same book would take very long times to open. Maybe I was selecting certain memories after changing my e-reader? Anyway, I agree: the default settings are good as they are. Let me leave with some more heartfelt praise for KOReader: Now again after doing this upgrade, a pleasant surprise with this loading time issue (maybe unrelated to the update). An awesome project! Thank you |
Good, thanks :) |
With
["cre_compress_cached_data"] = false,
insettings.reader.lua
.Not using compression for cache files does indeed take more space, but it does speed up opening, rendering, page turns, and closing, with big documents.
Details in koreader/crengine#97 and originally in #3261 (comment).