Skip to content

D196: the compiler's own integer-keyed maps name the Minted hasher (#2372) - #3084

Merged
ehartford merged 1 commit into
seed-bound-sweepfrom
minted-sweep
Nov 8, 2026
Merged

ehartford merged 1 commit into
seed-bound-sweepfrom
minted-sweep

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

tools/sweep_minted_maps.w over src/: 772 integer-keyed maps and sets in 21 files gain , Minted. Provenance review: every key is a minted ID (node, symbol, type, scope, local, or a packed pair; scope_name_map by interned symbol, which D196 names as minted); none is an integer the program received. :fixpoint is green on this tree, so iteration order and output are unchanged. Stacked on the seed-bound sweep PR. The self-check timing against the unswept compiler follows once measured on a quiet machine (the earlier D196 measurement showed a fifth off).

…2372)

tools/sweep_minted_maps.w over src/: 772 `HashMap[i32|i64, V]` and
`HashSet[i32|i64]` in 21 files gain `, Minted`, each keyed by an ID the
program minted (a node, symbol, type, scope or local id, or sema_pair_key's
pack of two; `scope_name_map` by the interned symbol, which D196 names as
minted). The review found no map keyed by an integer the program received.
Iteration order is insertion order (D96), so no output changes and stage2
== stage3 holds (`:fixpoint` green on this tree).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant