A common piece of Rust perf folklore: “mark the rare branch cold, the compiler will lay out the hot one as fall-through.” I followed that advice on a streaming indicator’s warmup path. Every wrapping indicator regressed.

A common piece of Rust perf folklore: “mark the rare branch cold, the compiler will lay out the hot one as fall-through.” I followed that advice on a streaming indicator’s warmup path. Every wrapping indicator regressed.