-
Notifications
You must be signed in to change notification settings - Fork 0
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
F/minify #4
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.
Is there a reference for the minify technique and does this come from the optimiser upstream?
Nah, this comes from my research on NEAR 🙂. Here's a reference: https://github.com/near/near-sdk-rs/blob/master/minifier/minify.sh I just wanted to check how much it improved size reduction. So, here it is. |
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.
Great find!
Added some extra minifying tools to reduce smart contracts size slightly (~2%).
Not sure we want to merge this, as the improvements are minimal, and it also departs a bit from upstream.