Rust性能之书
转自 Rust视界
rustc-perf 2号贡献者 Nicholas 写了一本关于 提升 Rust 程序性能的经验之书。
在线阅读:https://nnethercote.github.io/perf-book/ 源码:https://github.com/nnethercote/perf-book
Rust 1.48.0 将在 2020-11-19 发布
小编发现比较两亮点的地方是
future::pending
、
future::ready
两个 API 稳定了,还有
Option
/
Result
的内容判断函数可以编译时优化了