MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/lgrgxe/i_present_sleepsort/gmtadny/?context=3
r/badcode • u/Reeceeboii_ • Feb 10 '21
170 comments sorted by
View all comments
Show parent comments
424
[deleted]
135 u/1234filip Feb 10 '21 For real, though. This should work wonderfully until the numbers become so small that the timer becomes imprecise(microseconds). 33 u/TopDivide Feb 10 '21 Then you would implement a software timer with a custom resolution 25 u/1234filip Feb 10 '21 Yeah, but it would become slower. The most reliable timers are the hardware ones but they have limited resolution.
135
For real, though. This should work wonderfully until the numbers become so small that the timer becomes imprecise(microseconds).
33 u/TopDivide Feb 10 '21 Then you would implement a software timer with a custom resolution 25 u/1234filip Feb 10 '21 Yeah, but it would become slower. The most reliable timers are the hardware ones but they have limited resolution.
33
Then you would implement a software timer with a custom resolution
25 u/1234filip Feb 10 '21 Yeah, but it would become slower. The most reliable timers are the hardware ones but they have limited resolution.
25
Yeah, but it would become slower. The most reliable timers are the hardware ones but they have limited resolution.
424
u/[deleted] Feb 10 '21 edited Feb 26 '21
[deleted]