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 | |
---|---|---|
.. | ||
apps | 3 years ago | |
device | 3 years ago | |
document | 3 years ago | |
ui | 3 years ago | |
cache.lua | 3 years ago | |
cacheitem.lua | 3 years ago | |
configurable.lua | 3 years ago | |
dbg.lua | 4 years ago | |
depgraph.lua | 4 years ago | |
device.lua | 4 years ago | |
dispatcher.lua | 3 years ago | |
docsettings.lua | 3 years ago | |
dump.lua | 4 years ago | |
fontlist.lua | 3 years ago | |
gettext.lua | 4 years ago | |
httpclient.lua | 8 years ago | |
logger.lua | 5 years ago | |
luadata.lua | 5 years ago | |
luasettings.lua | 3 years ago | |
luxl.lua | 4 years ago | |
optmath.lua | 4 years ago | |
persist.lua | 3 years ago | |
pluginloader.lua | 3 years ago | |
pluginshare.lua | 7 years ago | |
random.lua | 5 years ago | |
readcollection.lua | 4 years ago | |
readhistory.lua | 3 years ago | |
socketutil.lua | 3 years ago | |
util.lua | 3 years ago | |
version.lua | 3 years ago |