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

Indeed, and this was measured, and the improvement was worth it. Profiling! :P The cost isn't always where we think it is.

Still, 'turn off exceptions because exceptions are slow' is a daft rule of thumb for the majority of software, where the slowness probably has more to do with choice of data structures, etc than compiler/platform implementation of language features.

Always measure first, last, and in between.



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

Search: