From 3c6e62b75293b6625509ade3c278fc2d4d147c30 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Thu, 7 Dec 2023 03:55:45 +0100 Subject: chore: increase performance by caching everything Initial cache generation is slower, as we are losing out on parallelism. --- app/Issue.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Issue.hs') diff --git a/app/Issue.hs b/app/Issue.hs index 303862d..2b9e568 100644 --- a/app/Issue.hs +++ b/app/Issue.hs @@ -44,7 +44,7 @@ data Issue = Issue -- -- @related reduce-cached-data-size instance Binary D.Node where - put = put . show . P.render + put = put . T.pack . show . P.render get = D.commonmarkToNode [] <$> get id :: Issue -> T.Text -- cgit v1.2.3