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

The naive check-and-branch approach on current x86 only costs a couple of percent in integer-heavy and well tuned C code (see http://danluu.com/integer-overflow/). Integer operations in Python and Ruby are so glacially slow compared to C that the overflow checking overhead doesn't register at all due to all the other overhead there.


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

Search: