Still, I'm having trouble seeing why turning a standard for loop into a statement modifier cuts down on the memory usage.
I didn't suggest it did.
Only that it reduced the memory requirement compared to the map variant; and sourcecode/mindspace compared to the standard for loop.
In reply to Re^3: Efficiency of map vs. more verbose basic/fundamental code
by BrowserUk
in thread Efficiency of map vs. more verbose basic/fundamental code
by marquezc329
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |