-
-
Notifications
You must be signed in to change notification settings - Fork 726
feat(minifier): drop var r = [...arguments] if r is not used
#13115
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
feat(minifier): drop var r = [...arguments] if r is not used
#13115
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. |
CodSpeed Instrumentation Performance ReportMerging #13115 will not alter performanceComparing Summary
Footnotes |
9f0367e to
ff1d148
Compare
31430f4 to
db7680b
Compare
Merge activity
|
ff1d148 to
3d0d31a
Compare
db7680b to
5dfb40e
Compare

Avoid generating
var r = [...arguments]ifris not used to reduce the number of iterations.This would also remove
[...arguments].slice(), which would not be removed currently because we don't treatArray::sliceas sideeffect free.