mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21b067792d
Ought to be faster than our naive array-based approach. Especially for the glyph cache, which has a solid amount of elements, and is mostly cache hits. (There are few things worse for performance in Lua than table.remove @ !tail and table.insert @ !tail, which this was full of :/). DocCache: New module that's now an actual Cache instance instead of a weird hack. Replaces "Cache" (the instance) as used across Document & co. Only Cache instance with on-disk persistence. ImageCache: Update to new Cache. GlyphCache: Update to new Cache. Also, actually free glyph bbs on eviction. |
3 years ago | |
---|---|---|
.. | ||
canvascontext.lua | 3 years ago | |
credocument.lua | 3 years ago | |
djvudocument.lua | 3 years ago | |
doccache.lua | 3 years ago | |
document.lua | 3 years ago | |
documentregistry.lua | 3 years ago | |
koptinterface.lua | 3 years ago | |
pdfdocument.lua | 3 years ago | |
picdocument.lua | 4 years ago | |
tilecacheitem.lua | 3 years ago |