Re:Advanced Javascript tips and tricks
by photon_off on Tuesday July 05, 2011 @03:24AM
(#2728977)
I think there's also an issue of performance -- it's possible, though unlikely, that the sort could take forever to complete.
[ Parent
| on HN ]
Unlikely is an understatement -- the probability of an infinite sequence of PRNG outputs that prevents any sort algorithm from terminating is negligible.
What about 'taking too much time' though?