in reply to
Re^3: map vs for\foreach.
in thread
map vs for\foreach.
for (@a)
is indeed optimized to not place the elements of `@a` on the stack.
for ((),@a)
would prevent the optimization.
Comment on
Re^4: map vs for\foreach.
Select
or
Download
Code
In Section
Seekers of Perl Wisdom