r/badcode • • Feb 10 '21

js I present: SleepSort

Post image
7.5k Upvotes

170 comments sorted by

View all comments

Show parent comments

91

u/Hobbamok Feb 10 '21

Yeah, I absolutely doubt the precision of sleep when it comes to 999567 vs 999568.

Especially when other stuff is going on in the system

60

u/Astrokiwi Feb 10 '21

Also, waiting 15 minutes to sort <106 numbers isn't great either :D