2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/frontend/document
NiLuJe 2635593890 Cache: Some more tweaks after #7624
* Allow doing away with CacheItem
  Now that we have working FFI finalizers on BBs, it's mostly useless overhead.
  We only keep it for DocCache, because it's slightly larger, and memory pressure might put us in a do or die situation where waiting for the GC might mean an OOM kill.
* Expose's LRU slot-only mode
  And use it for CatalogCache, which doesn't care about storage space
* Make GlyphCache slots only (storage space is insignificant here, it was
  always going to be evicted by running out of slots).
* More informative warning when we chop the cache in half
2021-05-09 23:10:44 +02:00
..
canvascontext.lua add hasSystemFonts device property (#7535) 2021-04-19 09:04:31 +02:00
credocument.lua Cache: Some more tweaks after #7624 2021-05-09 23:10:44 +02:00
djvudocument.lua Add a few more mimetypes for OPDS (#7258) 2021-02-07 19:11:45 +01:00
doccache.lua Cache: Some more tweaks after #7624 2021-05-09 23:10:44 +02:00
document.lua Cache: Rewrite based on lua-lru 2021-05-05 20:37:33 +02:00
documentregistry.lua PdfDocument: Unbreak highlights (#7457) 2021-03-29 05:11:02 +02:00
koptinterface.lua Cache: Rewrite based on lua-lru 2021-05-05 20:37:33 +02:00
pdfdocument.lua Cache: Rewrite based on lua-lru 2021-05-05 20:37:33 +02:00
picdocument.lua JPG/PNG: MuPDF as default provider (#6931) 2020-12-04 19:10:50 +01:00
tilecacheitem.lua Cache: Rewrite based on lua-lru 2021-05-05 20:37:33 +02:00