Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Conversation

0xScratch
Copy link

This PR is based on gas optimizations by enhancing the usage of 'for' loops.
It's well explained here: https://gist.github.com/grGred/9bab8b9bad0cd42fc23d4e31e7347144#for-loops-improvement

Also, some variables which are like uint256 xyz = 0; changed to uint256 xyz;, cuz unsigned integers have a default value of 0...thus assigning them to 0 itself leads to wasting some gas
Some typo errors got fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant