Skip to content
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/class-properties): remove a branch from transform_call_expression_impl #7507

Conversation

overlookmotel
Copy link
Contributor

@overlookmotel overlookmotel commented Nov 27, 2024

Small optimization. transform_call_expression_impl does not require the Expression::CallExpression, only the CallExpression itself. So pass that into the function, instead of having to unwrap it (which is an unnecessary branch).

Copy link

graphite-app bot commented Nov 27, 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
Contributor 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 27, 2024
@overlookmotel overlookmotel marked this pull request as ready for review November 27, 2024 11:18
@overlookmotel
Copy link
Contributor Author

Tiny change, so merging without review.

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Nov 27, 2024
Copy link
Contributor Author

overlookmotel commented Nov 27, 2024

Merge activity

  • Nov 27, 6:19 AM EST: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Nov 27, 6:23 AM EST: A user added this pull request to the Graphite merge queue.
  • Nov 27, 6:29 AM EST: A user merged this pull request with the Graphite merge queue.

…rm_call_expression_impl` (#7507)

Small optimization. `transform_call_expression_impl` does not require the `Expression::CallExpression`, only the `CallExpression` itself. So pass that into the function, instead of having to unwrap it (which is an unnecessary branch).
@overlookmotel overlookmotel force-pushed the 11-27-refactor_transformer_class-properties_remove_a_branch_from_transform_call_expression_impl_ branch from 842c76b to 5261547 Compare November 27, 2024 11:24
@graphite-app graphite-app bot merged commit 5261547 into main Nov 27, 2024
26 checks passed
@graphite-app graphite-app bot deleted the 11-27-refactor_transformer_class-properties_remove_a_branch_from_transform_call_expression_impl_ branch November 27, 2024 11:29
Copy link

codspeed-hq bot commented Nov 27, 2024

CodSpeed Performance Report

Merging #7507 will not alter performance

Comparing 11-27-refactor_transformer_class-properties_remove_a_branch_from_transform_call_expression_impl_ (5261547) with main (1c4b29c)

Summary

✅ 30 untouched benchmarks

@oxc-bot oxc-bot mentioned this pull request Dec 4, 2024
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.

1 participant