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 reply to Re: Re: Re: Advanced Sorting - GRT - Guttman Rosler Transform
by Juerd
in thread Advanced Sorting - GRT - Guttman Rosler Transform
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |