...being bitten by the optimisation...
Not in my particular case. The real-life code is more complicated, as I'm sorting arrays of arrays on an arbitrary column, and the comparators are more that just straight string or numeric compares. Hence I have a number of routines that know how to sort the contents of a column, and I associate each column with a sorter.
• another intruder with the mooring in the heart of the Perl
In reply to Re^2: Choosing the sort routine on the fly
by grinder
in thread Choosing the sort routine on the fly
by grinder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |