HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ambrop7
on Dec 26, 2014
|
parent
|
context
|
favorite
| on:
Sleep sort (2011)
One should know that it is the timer scheduler of the kernel which ends up doing the sorting. With Linux, this is probably a red-black tree[1], so performance of sleep sort (when it works) is O(n *log(n)).
[1]
https://www.kernel.org/doc/Documentation/timers/hrtimers.txt
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1] https://www.kernel.org/doc/Documentation/timers/hrtimers.txt