From e23b6aa7f06ad2eac7e1d8f9ad1d080ea4083a98 Mon Sep 17 00:00:00 2001 From: sunface Date: Tue, 11 Jan 2022 10:36:36 +0800 Subject: [PATCH] update readmes --- book/contents/SUMMARY.md | 8 +++++--- book/contents/compiler/optimization/intro.md | 3 +++ book/contents/compiler/optimization/option.md | 1 + book/contents/img/.DS_Store | Bin 8196 -> 8196 bytes exercise/README.md | 3 ++- pratice/mini-redis/README.md | 3 +++ 6 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 book/contents/compiler/optimization/intro.md create mode 100644 book/contents/compiler/optimization/option.md 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 a720346eebf3e556331ae353994897d9c3da9c5b..79f2519921daee0b1f3da2c6707a6573892a6447 100644 GIT binary patch delta 56 zcmZp1XmOa}&nUhzU^hRb_+}mfN7l)Lq9T(^MZ}pHWjEW2_A+f|mvBQ9>|z1{uO$uq delta 40 pcmZp1XmOa}&nUJrU^hRb*k&F9N7l`qqIFCY8*DbSOSr)}mH-CP49oxk 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).