laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Advanced Sorting - GRT - Guttman Rosler Transformby Juerd (Abbot) |
on Aug 10, 2003 at 14:11 UTC ( [id://282621]=note: print w/replies, xml ) | Need Help?? |
So your code benchmarks sorting an empty list! Oops. Next the 'st' implementation has a bug in it so it doesnt actually sort correctly $a->[0] <=> $a->[0] should read $a->[0] <=> $b->[0] Copied that from the root node. Wrong indeed. grt 15.5/s 235% 52% -- That's very comforting. Thanks. Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }
In Section
Meditations
|
|