branchless

Tag

Cards List
#branchless

Branchless Rust: Making a Filter 4x Faster by Removing an if

Lobsters Hottest ↗ · 2026-08-03 Cached

A blog post demonstrating how removing an `if` branch can make a Rust filter 4x faster, exploring branchless programming techniques and CPU branch prediction.

0 favorites 0 likes
#branchless

Your code is fast – if you're lucky

Hacker News Top ↗ · 2026-07-11 Cached

This article presents a branchless Quicksort implementation using sorting networks and discusses how modern compilers, especially Clang, optimize loops with branch-free instructions when written in the right style.

0 favorites 0 likes
← Back to home

Submit Feedback