| [GAS-1] | Cache array length outside of loop | 6 |
TODO
| [GAS-2] | Use != 0 instead of > 0 for unsigned integer comparison | 7 |
TODO
| [GAS-3] | Don't initialize variables with default value | 17 |
TODO
| [GAS-4] | Using bools for storage incurs overhead | 3 |
TODO
| [GAS-5] | Use Custom Errors | 116 |
TODO
| [GAS-6] | ++i
costs less gas than i++
, especially when it's used in for
-loops (--i
/i--
too) | 17 |
TODO