Can you provide a compelling reason to use map here? Will your code execute significantly faster? Use much less memory? Be easier to understand and maintain?
I prefer using map for more straightforward applications, such as unconditionally transforming all elements of a list.
In reply to Re: Improve foreach with help of map?
by toolic
in thread Improve foreach with help of map?
by mickep76
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |