-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Increase compiler optimization when using target=release
on iOS/Android
#60358
Increase compiler optimization when using target=release
on iOS/Android
#60358
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.
The Android section looks good!
If it's the only change, it's keep the
BTW, it seems weird that For size optimization, we could try All this will need thorough regression testing of course. |
I'd probably make that a separate option (such as |
WDYT about this change? Worth doing, or do you prefer to keep it as is? |
302eba8
to
2a0496e
Compare
It looks more readable with your change, so I applied it 🙂 |
2a0496e
to
78b4ec2
Compare
Thanks! |
Cherry-picked for 3.5. |
This improves performance on projects exported in release mode on iOS and Android, at the cost of slightly increased binary sizes.
Note that this may not be safe to cherry-pick to
3.x
on iOS (assuming the bug mentioned in godotengine/godot-proposals#1987 was fixed in the GDScript rewrite inmaster
).