in reply to Re^3: two order sort
in thread two order sort
> > your (Schwarzian) approach is not only better readable ...
> A decorate-sort-undecorate or GRT approach would be even faster,
I'm confused, IMHO "Schwartzian Transform" and "Decorate-Sort-Undecorate" are two names of the same thing ... right ???
EDIT: see also Decorate-Sort-Undecorate in WP.
UPDATE: OK I got it. You were referring to GRT beeing faster. =)
(Advanced Sorting - GRT - Guttman Rosler Transform)
Well in this case creating a float separating the two numeric values by a point should be fast enough.
Cheers Rolf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: two order sort
by AnomalousMonk (Archbishop) on Mar 05, 2013 at 22:01 UTC |
In Section
Seekers of Perl Wisdom