《The Rust Performance Book》是由 Nick Fitzgerald 和 Nicholas Nethercote 编写的一份关于 Rust 语言性能优化的指南。这本书提供了深入的分析和实用的建议,帮助开发者理解 Rust 程序的性能特性,以及如何优化它们。
《The Rust Performance Book》主要包含以下内容:
- 简介
- 基准分析
- 构建配置
- Linting
- Profiling
- 初始化
- 哈希
- 堆分配
- 类型大小
- 标准库类型
- 迭代器
- 边界检查
- I/O
- 日志和调试
- 封装类型
- 机器码
- 并行
- 一般提示
- 编译时间
《The Rust Performance Book》 nnethercote.github.io/perf-book/i…
《The Rust Performance Book》中文版: blues-star.github.io/perf-book-z…