in reply to Re^5: Benchmark, -s versus schwartzian
in thread Benchmark, -s versus schwartzian
You can always do the GRT by using only the key...Uh, that's sometimes the hard part. Suppose you wanted to sort by a floating point number (say, age in days), then descending by a string of varying length that might have a NUL in it, and then descending by another integer (byte size). Quick, construct the GRT for that. Not easy, huh. Trivial in the ST.
Yes, you can always get a single GRT string for a multilevel sort. But sometimes, as I said, it takes a frickin' genius.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Benchmark, -s versus schwartzian
by fizbin (Chaplain) on Aug 25, 2004 at 20:09 UTC | |
by tye (Sage) on Aug 25, 2004 at 20:32 UTC | |
by fizbin (Chaplain) on Aug 25, 2004 at 21:04 UTC | |
|
Re^7: Benchmark, -s versus schwartzian
by ambrus (Abbot) on Aug 23, 2004 at 19:41 UTC |