I Marked My Cold Path #[cold] and It Got 134% Slower

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. Supertrend by 134%. This is the post I wish existed last month. The setup quantedge-ta is a streaming technical-analysis library. One of… Continue reading