This is stars and forks stats for /zaqk/for-loop-optimizations repository. As of 29 Apr, 2024 this repository has 12 stars and 0 forks.
More optimal for loops While testing out some for-loop optimizations in Solidity we found a significantly cheaper method. Over 20% cheaper than the most common gas saving for loops method per loop. In test.sol there are 3 functions with the total gas cost in comments above them: increment0 : The current most popular gas optimized style for loop w/ unchecked increments increment1 : A cheaper more optimized version of increment0 increment2 : identical to increment2 but optimized even further using...
More optimal for loops While testing out some for-loop optimizations in Solidity we found a significantly cheaper method. Over 20% cheaper than the most common gas saving for loops method per loop. In test.sol there are 3 functions with the total gas cost in comments above them: increment0 : The current most popular gas optimized style for loop w/ unchecked increments increment1 : A cheaper more optimized version of increment0 increment2 : identical to increment2 but optimized even further using...
repo | techs | stars | weekly | forks | weekly |
---|---|---|---|---|---|
ControlCplusControlV/Arbitrage-Example | Solidity | 107 | 0 | 15 | 0 |
maticnetwork/pos-portal | SolidityJavaScriptShell | 291 | 0 | 228 | 0 |
code-423n4/2022-08-nounsdao | SolidityHTMLTypeScript | 4 | 0 | 0 | 0 |
saucepoint/0xMonaco | SolidityJuliaOther | 53 | 0 | 2 | 0 |
marktoda/paradigm-ctf | SolidityJavaScriptRuby | 40 | 0 | 0 | 0 |
unhackedctf/reaper | Solidity | 40 | 0 | 17 | 0 |
andrew3009/0xmonaco | SolidityJuliaOther | 17 | 0 | 0 | 0 |
goncaloMagalhaes/erc20-low-level | SolidityYul | 46 | 0 | 2 | 0 |
camronh/Lottery-Tutorial | SolidityJavaScript | 5 | 0 | 6 | 0 |
mudgen/diamond-3-hardhat | SolidityJavaScript | 203 | 0 | 111 | 0 |