Skip to main content
branchless

branchless

7.8
Code that avoids if statements to run faster on computers
  • adjective
  • /ˈbrænʧləs/
  • Specialized
translation icon : sin ramas
  • A branchless algorithm can avoid costly mispredictions on modern processors.

Examples

  • They rewrote the shader with branchless math to improve graphics performance on mobile GPUs.

  • The compiler used branchless techniques to speed up the hot loop.

  • The new algorithm is completely branchless.

  • Using branchless code can significantly enhance performance.

  • The team implemented a branchless algorithm to optimize their data processing speed.

  • By using branchless code, the developers ensured smoother execution in resource-constrained environments.

  • He successfully wrote branchless functions that improved the efficiency of the CPU's pipeline.

Surface Forms

branchless positive
branchless comparative
branchless superlative

Morphology

branchless = branch (opaque) = branch + less

Although formed from 'branch' + '-less', the computing sense of 'branch' is technical and not inferable by an average B1 learner from the everyday 'limb' meaning.

Etymology

Branchless comes from branch ('a place where something splits or a decision') and -less ('without'), so in computing it means code that runs 'without branches' or 'without decision points like if/else', which is why branchless code can be faster or more predictable.