in reply to To use a module...or not.
By not using an ST in the first place. In practice I prefer something likeHow would you simplify/clarify the coding of ST?
It's also generally faster than an ST and degrades more gracefully, too.my @array = @array[ do { my @rank = map &sortkey_calc @array; sort { $rank[$a] <=> $rank[$b] } 0 .. $#array; } ];
Makeshifts last the longest.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: To use a module...or not.
by BrowserUk (Patriarch) on Jul 27, 2004 at 16:55 UTC | |
by Aristotle (Chancellor) on Jul 27, 2004 at 17:49 UTC | |
by BrowserUk (Patriarch) on Jul 27, 2004 at 19:44 UTC | |
by Aristotle (Chancellor) on Jul 28, 2004 at 11:39 UTC |