|
|
|
|
|
by libealistand
1079 days ago
|
|
> Not only it not constant time, it's not even it's polynomial You understand that this is part of the joke, right? If we really want to get down to the details and kill the joke, then you don't actually need to wait real time. Computational complexity is concerned with steps in a computational model, not how much time passes on a clock. Sleep sort uses OS scheduler properties and in a virtual time environment, time advances to the next scheduled event. That's what brings you back to actual polynomial complexity, if you assume this kind of thing as your computational model. > - it's psuedo-polynomial. If you lecture people then please at least get your spelling right. |
|
Haskell's runtime and the OS it executes on exist only as a transient implementation detail of what is, literally, a pure environment!