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

Depends on the situation. The compiler is smart, but in a way it's also dumb. It's very good at recognizing certain patterns and optimizing them, but not all patterns are recognized, and thus not all optimizations are applied, let alone consistently applied.

For example, see the article and discussion on Bitwise Division from two days ago: https://news.ycombinator.com/item?id=34981027



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

Search: