in reply to Re^2: counting backward (optimize foreach reverse low .. high
in thread counting backward
AFAIK for( @f ) is optimized to act like an iterator without expanding and caching the list.
But in for(reverse @f ) there is no for-context which helps reverse to act differently.
I'm to lazy for benchmarks (we had them before), but this was surely not fixed in 5.8.8
Cheers Rolf
In Section
Seekers of Perl Wisdom