perf(estree): avoid ident hash calculations when serializing#24774
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Merge activity
|
Follow-on after #24557. Avoid runtime construction of `Ident`s (which involves runtime hash calculation) in custom serializers for `ImportMeta` and `NewTarget`. Instead use `static_ident!` which calculates the hash at compile time.
7d185b5 to
b287f29
Compare
Merging this PR will not alter performance
Comparing Footnotes
|

Follow-on after #24557. Avoid runtime construction of
Idents (which involves runtime hash calculation) in custom serializers forImportMetaandNewTarget. Instead usestatic_ident!which calculates the hash at compile time.