ADR-0204 close: refutation record + retrospective + v2.2.1 version bump#146
Merged
Conversation
….2.1 - Lesson 2026-07-16-outlining-once-called-handlers-size-neutral: fn-ptr table stage A left emit.compile at 707 KB and grew the binary +28.8 KB (reverted) — a giant symbol from once-called inlined handlers is aggregation, not duplication; out-lining is size-neutral. Predictive question = "how many call sites share this code?", not symbol size. - debt: D-521 DISCHARGED (size premise measured-refuted); D-522 reworded to its stage-2 residual (demand-driven, ~200 KB). - ADR-0204: Status -> Implemented; D2 amended with the refutation. - handover: campaign section closed. - CHANGELOG + build.zig.zon: v2.2.1 (D-522 stage 1 = CLI -21% ReleaseSafe, no API/behaviour/JIT-output change).
chaploud
enabled auto-merge (squash)
July 16, 2026 04:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes the binary-size campaign (ADR-0204; kickoff #144, stage 1 #145). Docs + ledger + version bump only — no src/ change.
2026-07-16-outlining-once-called-handlers-size-neutral.md: the D-521 fn-pointer-table probe leftemit.compileat 707 KB and grew the binary +28.8 KB (reverted). A giant symbol made of once-called inlined handlers is aggregation, not duplication — out-lining is size-neutral. The predictive question is "how many call sites share this code?", not symbol size (contrast D-522's ×64-duplicated thunks: −1.08 MB).Tag
v2.2.1follows after this merges (user-granted in-session per ADR-0156).