Shuffled input is important, otherwise Eily's code seems to be faster.
Excellent point, having more representative sample input is important, as tybalt89 showed :-)
I've updated the root node, yours is the best so far, congratulations!
In reply to Re^2: Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1
by haukex
in thread Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |