Tags / 3 posts
#performance
2026 1 post
-
Branchless Rust: Making a Filter 4x Faster by Removing an if
Why a filter is slowest when it keeps half of random input, and what a branchless rewrite gains there and loses at 1%.
Tags / 3 posts
Why a filter is slowest when it keeps half of random input, and what a branchless rewrite gains there and loses at 1%.