The problem here is that you are adding an extra level of subroutine call to each of the implementations under test.
I always thought the string was compiled into a sub, but I now see that it isn't.
In reply to Re^3: Benchmarking the block and list forms of grep
by ikegami
in thread Benchmarking the block and list forms of grep
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |