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

You probably mean to put the probably false condition first, since if the first condition is false, the others are not tested anymore.


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.




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

Search: