prune dead specializations

This commit is contained in:
2026-06-12 17:27:47 +02:00
parent 4112b79c6b
commit 66e41e1d9a
4 changed files with 209 additions and 26 deletions
+5
View File
@@ -35,3 +35,8 @@ After migrating persistent compiler references and spans to compact IDs on
`Span` is 12 bytes and `Token` is 24 bytes; AST expressions, HIR expressions,
and IR instructions are 64, 88, and 88 bytes respectively. These sizes are
also printed by the benchmark to catch layout regressions.
After pruning stale function specializations on 2026-06-12, peak memory
remained 8,651,659 bytes and allocations fell to 30,121. Lookup-only
specialization resolution avoids constructing temporary signatures for
already discovered calls.