this post was submitted on 10 Jul 2024
9 points (76.5% liked)

VS Code

776 readers
1 users here now

founded 1 year ago
MODERATORS
9
Sleep Sort (www.aprogrammerlife.com)
submitted 3 months ago by [email protected] to c/vscode
 

Time complexity isn't even associated to the size of the list. Amazing!

you are viewing a single comment's thread
view the rest of the comments
[–] sus 1 points 3 months ago

the environment or operating system will ultimately have to use a sorting algorithm with a normal time complexity to determine the order of events (or it can give up and sort them incorrectly once the time resolution is not high enough)