C++ articles
July 14, 2026 performance C++ K-way merge join
We showcase a “branchless” K-way merge join algorithm, and compare its performance with that of the canonical heap-based implementation
May 29, 2026 performance C++ Branch prediction and dynamic dispatch
We examine how branch prediction can alleviate the cost of dynamic dispatch, and its limits
May 24, 2026 performance C++ Branch prediction: the sorted merge case
We showcase a “branchless” sorted merge algorithm (and its merge join variant), highlighting its benefits and its limits
May 8, 2026 performance C++ Data dependency: the scalar aggregation case
We showcase a concrete example of data dependency with a simple algorithm (a sum)