summaryrefslogtreecommitdiff
path: root/src/Index.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-05-10 18:54:45 +0200
committerTom Smeding <tom@tomsmeding.com>2026-05-10 18:54:45 +0200
commit5d6f1f42eec48ae1671e54cdd127f39318416498 (patch)
tree58672af74066d702fef81c5fdc9587de77d42c57 /src/Index.hs
parent66e9a4f242b9f02a7fcf6b5fc610417a50e1ba87 (diff)
Generate renderer functions using TH
These take (and project from) a data type instead of hash maps, _and_ use text-builder-linear, _and_ have the full template inlined. The result is that this is the fastest renderer yet.
Diffstat (limited to 'src/Index.hs')
-rw-r--r--src/Index.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Index.hs b/src/Index.hs
index 5ac59be..3e40cac 100644
--- a/src/Index.hs
+++ b/src/Index.hs
@@ -35,7 +35,6 @@ import Data.Text (Text)
import Data.Time
import Data.Vector.Storable qualified as VS
import Data.Word
-import Numeric (showIntAtBase)
import System.Clock qualified as Clock
import System.Directory
import System.FilePath