in reply to Re: Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1
in thread Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1

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!

  • Comment on Re^2: Fastest way to sort a list of integers into 0,1,2,3,-3,-2,-1
  • Download Code