the compiler probably optimizes it away anyway
This working fine! An improvement could be to put the mathematical operation out of the loop so that it is not called in each iteration, and avoiding redundant calculation.
Loading collection data...
the compiler probably optimizes it away anyway
This working fine! An improvement could be to put the mathematical operation out of the loop so that it is not called in each iteration, and avoiding redundant calculation.