5 ms·
Sorry dumb question, why branchless?
by exabrial 9y ago
Sorry dumb question, why branchless?
- umanwizard 9y agoThe article answers this in detail, but the TLDR is that branches slow down execution on modern CPUs
- zaxomi 9y agoWhy branchless? Because branches can kill performance. For an explanation, see this answer on branch prediction: https://stackoverflow.com/a/11227902 https://stackoverflow.com/a/11227902