Hacker News new | past | comments | ask | show | jobs | submit login

Between a jump table and a scalar loop, the loop will screw with the branch predictor more.

A jump table has the potential to be faster by doing SIMD, at the cost of taking more icache.




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

Search: