http://qs321.pair.com?node_id=282621


in reply to Re: Re: Advanced Sorting - GRT - Guttman Rosler Transform
in thread Advanced Sorting - GRT - Guttman Rosler Transform

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' }