-
-
Notifications
You must be signed in to change notification settings - Fork 464
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
perf(transformer): reuse same UID for _this
in arrow function transform
#5840
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. |
CodSpeed Performance ReportMerging #5840 will not alter performanceComparing Summary
|
Interesting. |
Re-use same
_this
UID for every scope, instead of creating a new one each time -_this
,_this2
etc. It's not necessary for each var to have a different name, as only onethis
can be in scope anywhere.Conformance fails because some of Babel's test cases rely on every
_this
var to be named differently, so we can't merge this, but submitting PR just to see the effect on benchmarks.