Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Posibyte
on Sept 2, 2012
|
parent
|
context
|
favorite
| on:
3.7X speedup from removing a call to sleep
Generally, unless I'm working on super low level stuff, I'll avoid sleep()'s at all possible. If I find that I need to spinlock (sleep() to avoid race conditions), there's something wrong with my implementation.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: