-
-
Notifications
You must be signed in to change notification settings - Fork 669
More aggressive inlining and slightly reworked pass pipeline again #1135
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
Conversation
cli/asc.js
Outdated
if (optimizeLevel >= 2 && shrinkLevel === 0) { | ||
module.setAlwaysInlineMaxSize(12); | ||
module.setFlexibleInlineMaxSize(60); | ||
module.setOneCallerInlineMaxSize(60); |
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.
What would be the downside of making OneCallerInlineMaxSize
basically unlimited? Just curious :)
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.
Infinite code size? =) Basically it significantly increase build speed. Also it could even slowdown code due to inline huge functions will increase register pressure and stack usage on target platform
No description provided.