-
-
Couldn't load subscription status.
- Fork 1.3k
expand if statements before compression to allow iife inlining #10957
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
base: main
Are you sure you want to change the base?
Conversation
|
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some tests
CodSpeed Performance ReportMerging #10957 will not alter performanceComparing Summary
|
|
Converting to draft due to potential performance issues |
Description:
Temporarily undoes if statement compression to allow IIFE inlining of branches. If statements are still recompressed after that occurs.
Solves scenario 2 in #10280 , where an iife can be inlined, but is nested within a ternary expression. By expanding them to if statements, the iife can be inlined before recompressing the statement to another ternary expression.
Related issue (if exists):
#10280