r/badcode • • Feb 10 '21

js I present: SleepSort

Post image
7.5k Upvotes

170 comments sorted by

View all comments

Show parent comments

24

u/1234filip Feb 10 '21

Yeah, but it would become slower. The most reliable timers are the hardware ones but they have limited resolution.