in reply to Re^3: How to perform different sorts on multiple sections of items in the same array (optimised)
in thread How to perform different sorts on multiple sections of items in the same array

Whaaaaaat. This can't work under strict.

I forgot (now corrected; thanks) to copy-paste the declaration of the 3 arrays. my( @rindex, @eindex, @oindex );

It is there in my benchmark, but was common code used by 4 different paths through the code that tested different optimisations.


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.
  • Comment on Re^4: How to perform different sorts on multiple sections of items in the same array (optimised)
  • Download Code