The Cost of Indirection in Rust
Link rustperformancearchitecture
March 10, 2026
Argues against premature inlining in Rust async contexts. The “cost” of removing indirection—lost readability and increased cognitive load—outweighs negligible runtime differences. Measure with profilers instead of making assumptions, and let the compiler handle optimization.