(Somehow my code was cut off...)
The issue isn't how to benchmark it so much as in "real world testing" using array references seems to be over 10% slower than using split in Perl 5.6 using ActiveState's Perl for Windows.
This does not make sense to me. Wouldn't it be more work to split a string than to dereference an array?
In reply to Re: Re: Why is split faster than anonymous arrays?
by rrwo
in thread Why is split faster than anonymous arrays?
by rrwo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |