Optimize Memory Usage by Hoisting Function in For Loop 馃捊
Hi, this pull request introduces a very minor improvement in memory usage by hoisting the function outside the for loop. This adjustment offers benefits such as reducing the overhead of redefining the function in each iteration, resulting in a more optimized and efficient code execution.
Extremely sorry, if I made any mistakes :)