Skip to content

Comments

refactor(transformer/object-rest-spread): avoid multiple symbol lookups#7420

Merged
graphite-app[bot] merged 1 commit intomainfrom
11-22-refactor_transformer_object-rest-spread_avoid_multiple_symbol_lookups
Nov 23, 2024
Merged

refactor(transformer/object-rest-spread): avoid multiple symbol lookups#7420
graphite-app[bot] merged 1 commit intomainfrom
11-22-refactor_transformer_object-rest-spread_avoid_multiple_symbol_lookups

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Nov 22, 2024

IdentifierReference::is_global_reference and MaybeBoundIdentifier::from_identifier_reference both look up the symbol for the identifier. Do this lookup only once, rather than twice.

@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 22, 2024

Your org has enabled the Graphite merge queue for merging into main

Add 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.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Nov 22, 2024
@overlookmotel overlookmotel marked this pull request as ready for review November 22, 2024 11:43
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 22, 2024

CodSpeed Performance Report

Merging #7420 will not alter performance

Comparing 11-22-refactor_transformer_object-rest-spread_avoid_multiple_symbol_lookups (6fd0fcb) with main (6c0d31b)

Summary

✅ 30 untouched benchmarks

@overlookmotel overlookmotel requested review from Boshen and removed request for Dunqing November 22, 2024 11:53
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Nov 23, 2024
Copy link
Member

Boshen commented Nov 23, 2024

Merge activity

  • Nov 22, 11:58 PM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 22, 11:58 PM EST: A user added this pull request to the Graphite merge queue.
  • Nov 23, 12:07 AM EST: A user merged this pull request with the Graphite merge queue.

Boshen pushed a commit that referenced this pull request Nov 23, 2024
…ps (#7420)

`IdentifierReference::is_global_reference` and `MaybeBoundIdentifier::from_identifier_reference` both look up the symbol for the identifier. Do this lookup only once, rather than twice.
@Boshen Boshen force-pushed the 11-22-refactor_transformer_object-rest-spread_avoid_multiple_symbol_lookups branch from 4648bec to f9f74ae Compare November 23, 2024 04:59
…ps (#7420)

`IdentifierReference::is_global_reference` and `MaybeBoundIdentifier::from_identifier_reference` both look up the symbol for the identifier. Do this lookup only once, rather than twice.
@Boshen Boshen force-pushed the 11-22-refactor_transformer_object-rest-spread_avoid_multiple_symbol_lookups branch from f9f74ae to 6fd0fcb Compare November 23, 2024 05:00
@graphite-app graphite-app bot merged commit 6fd0fcb into main Nov 23, 2024
@graphite-app graphite-app bot deleted the 11-22-refactor_transformer_object-rest-spread_avoid_multiple_symbol_lookups branch November 23, 2024 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants