Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Schwartzian Transform and memory allocation.by runrig (Abbot) |
on Jun 19, 2002 at 16:16 UTC ( [id://175752]=note: print w/replies, xml ) | Need Help?? |
Instead of creating a temporary array reference, you can instead prepend the sort key to the data itself, sort that, then take the sort key off at the end, I think that's the Guttman/Rossler transform, which is a variation on the 'Schwartzian transform'. BTW, your code doesn't appear to be sorting on any particular column, it appears to just be doing a plain sort on the data.
In Section
Seekers of Perl Wisdom
|
|