top | item 36637836

(no title)

johnday | 2 years ago

Actually, if you start working out which one is the next to run, you have reinvented selection-sort and you are no longer linear time. (Hence why this is not a sensible sorting algorithm in reality :) )

discuss

order

Arnavion|2 years ago

Which is why I wrote:

>After all, all the sorting work was already done when the threads started sleeping, having registered themselves with the orchestrator (timer wheel etc) that will eventually wake them up.