HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by exabrial | Hacker News Reader
Parent
Full thread
exabrial
·
Sorry dumb question, why branchless?
View on HN
zaxomi
·
Why branchless? Because branches can kill performance. For an explanation, see this answer on branch prediction:
https://stackoverflow.com/a/11227902
School-Cotton
·
The article answers this in detail, but the TLDR is that branches slow down execution on modern CPUs
Reply on news.ycombinator.com