Files
koreader/spec/unit
NiLuJe 21b067792d Cache: Rewrite based on lua-lru
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.
2021-05-05 20:37:33 +02:00
..
2021-05-05 20:37:33 +02:00
2017-10-12 19:39:52 +02:00
2020-06-08 16:36:06 +02:00
2021-04-13 17:53:15 +02:00
2017-04-24 08:27:29 +02:00
2016-08-10 10:42:51 -07:00
2017-09-23 20:24:45 +02:00