'push(@array, scalar)' (your implementation) is almost 2X slower than '$array[fixed_index] = scalar' (his implementation).
When verifying other people's benchmarks, try not to alter their code. :-)
In reply to Re: Re: Unexpected: unpack slower than several substr's. Why?
by MarkM
in thread Unexpected: unpack slower than several substr's. Why?
by BazB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |