Open likeawizard opened 2 years ago
Branching can be expensive due to CPU branch prediction. Avoid the use of if-else statments and replace them with branchless algorithms. Branchless usually involves more operations but can be better scheduled on a CPU
Branching can be expensive due to CPU branch prediction. Avoid the use of if-else statments and replace them with branchless algorithms. Branchless usually involves more operations but can be better scheduled on a CPU