Skip to content
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

Remove block gas optimization #388

Closed
rakita opened this issue Feb 26, 2023 · 0 comments · Fixed by #391
Closed

Remove block gas optimization #388

rakita opened this issue Feb 26, 2023 · 0 comments · Fixed by #391

Comments

@rakita
Copy link
Member

rakita commented Feb 26, 2023

Block gas optimization what moves counting gas from instruction level to the block of instruction was the intuitive idea that I thought would optimize execution, the results were not as expected. It became difficult to calculate gas in Inspector, and there was even a bug introduced by it, Analyzed bytecode become bigger and optimization was just a few percentages.

It is not worth keeping it and the main reasons for removal are bigger analyzed bytecode size and complexity of usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant