Which is best way to execute scope of code inside loop? Splitting it into functions. Calling nested functions as inner functions or calling function outside loop?
- test without functions took: 158.88999996241182 ms
- test with calling functions inside took: 170.85500003304332 ms
- test with calling functions outside took: 165.08999996585771 ms
- test with calling functions inside depending on global parm took: 310.6550000375137 ms