|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Re: Re: Advanced Sorting - GRT - Guttman Rosler Transformby Juerd (Abbot) |
| on Aug 10, 2003 at 10:11 UTC ( [id://282621]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||