I wouldn't have predicted such a dramatic performance disparity across Perl versions.
It took me by surprise also.
I've done, and posted, this hashes versus vec benchmark many times over the years, yours was the first challenge to what I took to be simple fact.
Its yet another plank in my rapidly growing conclusion that 5.10.1 was 'peak Perl'.
Have updated my benchmarking post with "(Perl v5.14.2 64-bit)" - which I now think should always be included in benchmarks.
I wholeheartedly concur and will endeavour to do the same in future.
Greatly appreciate your informative reply!
We both learned something. That's win-win. You can't ask for more :)
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.