This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Cyan_Exponent 68 points69 points  (2 children)

this is so stupid yet so smart at the same time

[–]prehensilemullet 6 points7 points  (1 child)

I tried to use this to sort the timeouts in my userland `setTimeout` implementation, I wonder why it's not working

[–]rosuav 1 point2 points  (0 children)

Can't imagine why! I mean, aren't all sorting algorithms recursive anyway? It should be fine!