Hacker News new | ask | show | jobs
by CountSessine 4981 days ago
Very knowledgeable opinion sir. This is indeed true. Us as windows developers are required to add a sleep statement every few lines of code so as it not make it appear responsive.

A sleep() statement?! Novice! That won't even busy-wait! I like to loop around for a few thousand times writing nonsense to dummy variables. I earned those time slices - no way am I going to just give them back to the OS scheduler.

1 comments

Haha, perhaps you've implemented this technique before:

http://thedailywtf.com/Articles/The-Speedup-Loop.aspx