Repository navigation
D196: the compiler's own integer-keyed maps name the Minted hasher (#2372) - #3084
Merged
Merged
Conversation
ehartford
force-pushed
the
minted-sweep
branch
from
November 8, 2026 09:40
8907c4e to
565ddd6
Compare
ehartford
force-pushed
the
minted-sweep
branch
from
November 8, 2026 10:01
565ddd6 to
7ca27c3
Compare
…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).
ehartford
force-pushed
the
minted-sweep
branch
from
November 8, 2026 10:25
7ca27c3 to
5447882
Compare
ehartford
marked this pull request as ready for review
November 8, 2026 10:43
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.
tools/sweep_minted_maps.woversrc/: 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_mapby interned symbol, which D196 names as minted); none is an integer the program received.:fixpointis 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).