Files
koreader/frontend/ui/widget
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-04-18 01:03:33 +02:00
2021-05-05 20:37:33 +02:00
2020-11-18 18:28:47 +01:00
2020-11-04 18:59:39 +01:00
2020-11-04 18:59:39 +01:00
2014-03-13 21:52:43 +08:00
2021-04-18 01:03:33 +02:00
2021-05-05 20:37:33 +02:00
2016-12-25 12:13:53 -08:00