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

This is considered a practical example?

Regardless, checking a register or hot value already in cache against a constant is free on modern CPUs.



It's not a practical example but it's relatively non trivial e.g. some otherwise good compilers can't figure that one out.




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

Search: