"Rate" column shows how many times it could process in one second. Verbose2 is the fastest.
"This chart is sorted from slowest to fastest ..."
see
http://search.cpan.org/~rjbs/perl-5.16.1/lib/Benchmark.pm.
How about think of map in conjunction with lisp? Sometimes I see lisp conscious scripts at this perlmonk. For example moritz's max tree depth in this thread, or like this one, recently posted. And several times I saw the name of book 'High Order Perl', which I have not yet read...
regards.
In reply to Re^5: Efficiency of map vs. more verbose basic/fundamental code
by remiah
in thread Efficiency of map vs. more verbose basic/fundamental code
by marquezc329
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |