How to speed up the Rust compiler in September 2026
nnethercote.github.io原文 ↗
Rust 编译器 7 - 9 月的 629 项 benchmark 平均 wall time 降 4.57%,555 项改善、74 项回退。文章把收益拆到工程细节:Clippy PGO 最好快 18%,LLVM 23 升级平均快 1.2%,新的 dataflow traversal 让 18,000 基本块的 cranelift-codegen check 构建约快 30%。Polonius 和新 trait solver 已进 Nightly,性能工作同时承担着吸收新借用规则回退的成本。
–浏览
评论 · Comments