++i/i++ should be unchecked{++i}/unchecked{i++} when it is not possible for them to overflow, as is the case when used in for and while loops. This saves 30-40 gas per loop iteration.
There are 6 instances of this issue.
| File Link | Instance Count | Instance Links |
|---|---|---|
| Lender.sol | 6 | 233,293,359,438,549,592 |
360 gas
baudit: a custom static code analysis tool; manual review
++i/i++ should be unchecked{++i}/unchecked{i++} in for and while loops.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.