diff --git a/book/contents/SUMMARY.md b/book/contents/SUMMARY.md index 7bdda15b..b7e3fcdb 100644 --- a/book/contents/SUMMARY.md +++ b/book/contents/SUMMARY.md @@ -213,9 +213,11 @@ - [常用性能测试工具](performance/tools.md) - [编译器 todo](compiler/intro.md) - - [常见属性标记](compiler/attributes.md) - - [优化编译速度](compiler/speed-up.md) - + - [常见属性标记 todo](compiler/attributes.md) + - [提升编译速度 todo](compiler/speed-up.md) + - [编译器优化](compiler/optimization/intro.md) + - [Option枚举](compiler/optimization/option.md) + - [日志和监控 todo](monitor/intro.md) - [日志](monitor/log.md) - [可观测性](monitor/observability.md) diff --git a/book/contents/compiler/optimization/intro.md b/book/contents/compiler/optimization/intro.md new file mode 100644 index 00000000..659cc68f --- /dev/null +++ b/book/contents/compiler/optimization/intro.md @@ -0,0 +1,3 @@ +# 编译器优化 + +在Rust中,一段很不起眼的代码中可能也隐藏着玄机,编译器在细无声的为我们做着各种优化,本章将记录这些优化,帮助大家更好的理解程序的性能。 \ No newline at end of file diff --git a/book/contents/compiler/optimization/option.md b/book/contents/compiler/optimization/option.md new file mode 100644 index 00000000..f65ae257 --- /dev/null +++ b/book/contents/compiler/optimization/option.md @@ -0,0 +1 @@ +# Option枚举 diff --git a/book/contents/img/.DS_Store b/book/contents/img/.DS_Store index a720346e..79f25199 100644 Binary files a/book/contents/img/.DS_Store and b/book/contents/img/.DS_Store differ diff --git a/exercise/README.md b/exercise/README.md index 04d32df6..28d9be28 100644 --- a/exercise/README.md +++ b/exercise/README.md @@ -4,7 +4,8 @@ Rust练习题,是Rust学习教程的第二步,请在完成[第一步](https: 本项目从[rustling](https://github.com/rust-lang/rustlings)fork而来,主要有以下改变: 1. 翻译成中文 2. 为<<精通Rust编程>>一书提供相应的配套练习题 - +3. 未来提供一些更有针对性和更有难度的习题,官方的还是太简单了 + ## 开始使用 _注意: 如果你在使用MacOS,确保已经安装了Xcode以及相应的开发者工具 `xcode-select --install`._ diff --git a/pratice/mini-redis/README.md b/pratice/mini-redis/README.md index 0ec91df1..cf83b516 100644 --- a/pratice/mini-redis/README.md +++ b/pratice/mini-redis/README.md @@ -1,5 +1,8 @@ # mini-redis +本项目从[tokio/mini-redis](https://github.com/tokio-rs/mini-redis)fork而来,作为rust course的练习项目之一,**文档和注释还未进行翻译**,欢迎大家贡献。 + + `mini-redis` is an incomplete, idiomatic implementation of a [Redis](https://redis.io) client and server built with [Tokio](https://tokio.rs).