Avoiding "if" makes Quicksort faster
Removing branches from Quicksort cuts sort time in half on Apple Silicon.

Branch-avoidant stores beat std::sort on M1, but it's a micro-optimization of a solved algorithm.
Systems programmers and performance engineers
std::sort · folly · Abseil
Removing branches from Quicksort cuts sort time in half on Apple Silicon.
Beats std::sort and pdqsort by replacing branches with sorting networks.
Beats std::sort by 30% on M1 using sorting networks to eliminate conditional branches.
Branchless partitioning with 512-element stack buffer beats pdqsort on M1 and Ryzen.
Clever rate-limit arbitrage via pre-activation scheduling, but only works if you own multiple accounts.
Multithreaded WASM brings serious optimization to the browser.