Talk:Sorting algorithms/Sleep sort

From Rosetta Code
Revision as of 15:14, 22 June 2011 by Rdm (talk | contribs) (Designing for failure?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Designing for failure?

Sleep gives a minimum duration to sleep, but not a maximum. This algorithm would thus sort incorrectly on a heavily loaded system. I cannot see a way to design a way around this without cheating on the algorithm. --Rdm 15:14, 22 June 2011 (UTC)