-
-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(transformer/nullish-coalescing): avoid repeated symbol lookups #7272
refactor(transformer/nullish-coalescing): avoid repeated symbol lookups #7272
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @overlookmotel and the rest of your teammates on Graphite |
CodSpeed Performance ReportMerging #7272 will not alter performanceComparing Summary
|
d23e8da
to
4ced135
Compare
Merge activity
|
…ps (#7272) `clone_expression` was unnecessarily looking up the `SymbolId` of references multiple times. Use `BoundIdentifier` instead to avoid that. Notes: * `create_conditional_expression` has to take all parts as `Expression`s just to support `this ?? something`. * `TraverseCtx::is_static` also handles `Super`, but can skip that in this case as `super ?? something` is not valid syntax.
7428d93
to
5b5c8a9
Compare
4ced135
to
345fbb9
Compare
…ps (#7272) `clone_expression` was unnecessarily looking up the `SymbolId` of references multiple times. Use `BoundIdentifier` instead to avoid that. Notes: * `create_conditional_expression` has to take all parts as `Expression`s just to support `this ?? something`. * `TraverseCtx::is_static` also handles `Super`, but can skip that in this case as `super ?? something` is not valid syntax.
…ps (#7272) `clone_expression` was unnecessarily looking up the `SymbolId` of references multiple times. Use `BoundIdentifier` instead to avoid that. Notes: * `create_conditional_expression` has to take all parts as `Expression`s just to support `this ?? something`. * `TraverseCtx::is_static` also handles `Super`, but can skip that in this case as `super ?? something` is not valid syntax.
…ps (#7272) `clone_expression` was unnecessarily looking up the `SymbolId` of references multiple times. Use `BoundIdentifier` instead to avoid that. Notes: * `create_conditional_expression` has to take all parts as `Expression`s just to support `this ?? something`. * `TraverseCtx::is_static` also handles `Super`, but can skip that in this case as `super ?? something` is not valid syntax.
clone_expression
was unnecessarily looking up theSymbolId
of references multiple times. UseBoundIdentifier
instead to avoid that.Notes:
create_conditional_expression
has to take all parts asExpression
s just to supportthis ?? something
.TraverseCtx::is_static
also handlesSuper
, but can skip that in this case assuper ?? something
is not valid syntax.