Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It looks like someone forgot to remove the "speed-up loop".

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



That's both hilarious and frightening all at once. Luckily static analysis tools catch that kind of stuff very easily now...


Additionally I think you'd be hard pressed to find a modern compiler (for some loose definition of modern) which would not optimize that loop away.


At that point they would just turn on the optimizations as an "insurance".


Don't you mean off?


Not in the cloud they don't.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: