Y
Hacker News
new
|
ask
|
show
|
jobs
by
ThePawnBreak
4149 days ago
You probably mean to put the probably false condition first, since if the first condition is false, the others are not tested anymore.
1 comments
jonsen
4149 days ago
If the first condition is the slowest you can't get faster than that. But if the first is faster it might be the only one executed.
link