diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-07 03:55:45 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-12-07 03:55:47 +0100 |
commit | 3c6e62b75293b6625509ade3c278fc2d4d147c30 (patch) | |
tree | b33f76c2634a771879f9178cff8e5335e43d2f43 /app/History/IssueEvent.hs | |
parent | a5dde0c6e1c1f54a1660f6c2345277927beef30f (diff) |
chore: increase performance by caching everything
Initial cache generation is slower, as we are losing out on parallelism.
Diffstat (limited to 'app/History/IssueEvent.hs')
-rw-r--r-- | app/History/IssueEvent.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/History/IssueEvent.hs b/app/History/IssueEvent.hs index 93bd133..932cfd9 100644 --- a/app/History/IssueEvent.hs +++ b/app/History/IssueEvent.hs @@ -1,5 +1,7 @@ module History.IssueEvent (IssueEvent (..)) where +import Data.Binary (Binary) +import GHC.Generics (Generic) import History.CommitHash (CommitHash) import Issue (Issue) import Issue.Render qualified as I @@ -24,7 +26,7 @@ data IssueEvent issue :: Issue, patch :: Patch } - deriving (Show) + deriving (Show, Generic, Binary) instance P.Render IssueEvent where render = P.render . P.Detailed |