Repository navigation
perf(stage2): content-bind MIR provider sessions - #7674
Merged
Merged
Conversation
register_trait_receiver_impls walked every provider impl table and relocated every impl method into each consumer's symbol table (N x P). Build a provider trait-impl session index once (with the provider session) and materialize owners/method targets per consumer only on lookup; scalar rows replay only for traits the consumer can see. SIMPLE_MIR_EAGER_TRAIT_IMPLS=1 restores the eager walk for A/B. Repro: mir_provider_trait_impl_once_per_closure_spec (RED 3/9 -> GREEN 1/0). Prevention: ..._prevention_spec (N/P shapes + demand==eager MIR parity). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ormastes
commented
Nov 7, 2026
ormastes
left a comment
Owner
Author
There was a problem hiding this comment.
Opus review (owner session): PASS. Scoped diff with specs, no rewinds or swept-in files, required check green.
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.
Astra reviewed for CI. Content-binds MIR provider-session reuse to ordered HIR codec content, propagates the immutable key through lifted lowerings, and adds falsifiable changed-content, provider-order, and lifted-dispatch regressions. Final merge requires green branch gates and admitted pure-Simple Stage2/performance evidence.