add LRU cache

This commit is contained in:
Marko Andjelic 2026-07-05 01:45:47 +01:00
commit da70b3ccf2
Signed by: marko
GPG key ID: 9C5E99C8C682FB59
3 changed files with 31 additions and 3 deletions

View file

@ -99,7 +99,9 @@ data AppState = AppState
stZoom :: Double,
stTitle :: T.Text,
stBookPath :: FilePath,
stGen :: Int
stGen :: Int,
stUse :: M.Map ChapterIndex Int,
stTick :: Int,
}
-- | A user request, produced by the keyboard / sidebar and handled centrally.