Repository navigation
perf(semantic): reuse identifier hashes in enum member lookups - #26773
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Author
Merge activity
|
graphite-app Bot
pushed a commit
that referenced
this pull request
Sep 18, 2026
Pass `Ident` directly to enum body scope lookups so static member accesses reuse the cached identifier hash. Convert computed string member names once before searching the body scopes, avoiding repeated hashing for merged enum declarations.
graphite-app
Bot
force-pushed
the
codex/semantic-enum-ident-lookup
branch
from
September 18, 2026 03:43
f4ea4d5 to
1f49218
Compare
Contributor
Merging this PR will not alter performance
Comparing Footnotes
|
Pass `Ident` directly to enum body scope lookups so static member accesses reuse the cached identifier hash. Convert computed string member names once before searching the body scopes, avoiding repeated hashing for merged enum declarations.
graphite-app
Bot
force-pushed
the
codex/semantic-enum-ident-lookup
branch
from
September 18, 2026 03:47
1f49218 to
bd3f69e
Compare
graphite-app Bot
pushed a commit
that referenced
this pull request
Sep 21, 2026
### 🚀 Features - 1fac655 coverage: Support new TypeScript fixture layout (#26226) (camc314) ### 🐛 Bug Fixes - cd7228f minifier: Add missing negation for boolean literal (#26847) (Armano) - 32305e2 transformer: Skip enum reverse mappings for syntactic string initializers (#26724) (Dunqing) - 7811f0a parser: Preserve reparsed `await` tokens (#26619) (camc314) - 9220158 transformer: Skip recovered using loop patterns (#26722) (camc314) - 3130405 parser: Recover await using object binding patterns (#26721) (camc314) - 827fdbd parser: Reject invalid modifiers on import aliases (#26622) (camc314) ### ⚡ Performance - 3f1e3aa minifier: Preallocate stmts vec size to avoid excesive reallocs (#26856) (Armano) - bd3f69e semantic: Reuse identifier hashes in enum member lookups (#26773) (camc314) - 5f72954 minifier: Reduce allocations when processing if statements (#26666) (Armano)
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.
Pass
Identdirectly to enum body scope lookups so static member accesses reuse the cached identifier hash. Convert computed string member names once before searching the body scopes, avoiding repeated hashing for merged enum declarations.