Add explanation about new optimization simpleCounterForLoopUncheckedIncrement
#14648
Labels
Milestone
simpleCounterForLoopUncheckedIncrement
#14648
Page
Optimizer Section of the documentation.
https://docs.soliditylang.org/en/latest/internals/optimizer.html
Abstract
Since
0.8.22
, the compiler can use unchecked arithmetic when incrementing the counter offor
loops, under certain specific conditions. Those conditions need to be properly explained in the documentation.The blog post about the
0.8.22
release and the PR that introduced the functionality have the necessary information and examples about that.The text was updated successfully, but these errors were encountered: