Evil yes. But also EFFICIENT.
I'll bet for a long sort, it's probably faster to do a cmp than several cmps and <=>.
But it's the weekend; I'm too lazy to fire up Benchmark. :)
--
Mike
In reply to It's an efficiency thing, not an elegance thing
by RMGir
in thread Inconsistent column Schwartzian Transform attempt
by gryphon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |