And the branchless version may end up being slower on the CPU, because the compiler does a better job optimizing the branching version.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
And the branchless version may end up being slower on the CPU, because the compiler does a better job optimizing the branching version.