in reply to Re^5: Efficiency of map vs. more verbose basic/fundamental code
in thread Efficiency of map vs. more verbose basic/fundamental code
Thanks for that catch remiah. ++
I switched the benchmark methods from 'timethese' to 'cmpthese' at the same time that I fixed the test function calls, and then simply had a brain fart when I looked at the results. I've edited my post accordingly.
Using foreach is faster than map in this example. My faith is restored (whew!).
In Section
Seekers of Perl Wisdom