Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kqr2
on June 25, 2010
|
parent
|
context
|
favorite
| on:
"A sleep(1) is put into all SSL_read() and SSL_wri...
It looks like someone forgot to remove the "speed-up loop".
http://thedailywtf.com/Articles/The-Speedup-Loop.aspx
fourneau
on June 25, 2010
[–]
That's both hilarious and frightening all at once. Luckily static analysis tools catch that kind of stuff very easily now...
dschobel
on June 25, 2010
|
parent
|
next
[–]
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.
someone_here
on June 25, 2010
|
root
|
parent
|
next
[–]
At that point they would just turn
on
the optimizations as an "insurance".
eru
on June 25, 2010
|
root
|
parent
|
next
[–]
Don't you mean off?
sprout
on June 25, 2010
|
parent
|
prev
[–]
Not in the cloud they don't.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
http://thedailywtf.com/Articles/The-Speedup-Loop.aspx