diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-18 13:50:22 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-25 07:42:51 +0100 |
commit | fc0afaaa273f5b5d3696df87d70d5347a13bb9ac (patch) | |
tree | a7e48842f71511f39a367e5dff84f41c02f3d859 /app/Cache.hs | |
parent | 812fcbadae72960d200286355c9aaecfbe350bf2 (diff) |
feat: compute history top to bottom
Disables caching.
Diffstat (limited to 'app/Cache.hs')
-rw-r--r-- | app/Cache.hs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/Cache.hs b/app/Cache.hs index 7af9ee7..4540fa4 100644 --- a/app/Cache.hs +++ b/app/Cache.hs @@ -4,6 +4,22 @@ module Cache ) where +-- TODO Reduce cached data size +-- +-- Right now we are caching complete `Issue` instances, which +-- contain the full issue title and description. For a fast +-- lookup it may already be enough to only store the issue's +-- +-- \* filename +-- \* start position +-- \* end position +-- +-- With this information we can use git to quickly look up the +-- complete issue text and parse it. +-- +-- @topic caching +-- @backlog + import Data.Binary (Binary, decodeFileOrFail, encodeFile) import Data.Text qualified as T import Git qualified |