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

I feel like you either flipped the naming or the reasons you cite don't support the conclusion.

Pushing ifs down usually prevents vectorization and the cases article mentions are those non-dry where a similar branch has to be multiplied on a ton of functions down in the stack, often because the type is internally tagged.



3rd opinion: don't care until you have a performance issue to profile. Or you are building a high frequency trading system.




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

Search: