-
Notifications
You must be signed in to change notification settings - Fork 36
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
optimization: [hexen-s8] added uncheck for binHelper#getSharesAndEffectiveAmountsIn #208
Conversation
loll, turns out there is actually no difference in terms of gas (i guess compiler optimization is kicking in) but does help to save some bits of contract size |
|
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.
lgtm
just tried it but seems not help, i guess it's because we will need to declare deltaLiquidity first
|
Since Ownable2Step one is a bit more sophisticated and i expect that one to have more back and forth, so this PR will only serve hexen-2nd-audit CAKE3-6