From 9512ff7710895a209474a8277c88d1d0d4970b9c Mon Sep 17 00:00:00 2001 From: muwuren <32675834+muwuren@users.noreply.github.com> Date: Fri, 28 Jan 2022 17:08:00 +0800 Subject: [PATCH] =?UTF-8?q?"Async=20=E7=BC=96=E7=A8=8B=E7=AE=80=E4=BB=8B"?= =?UTF-8?q?=20=E8=A1=A8=E6=A0=BC=E5=88=86=E9=9A=94=E7=AC=A6=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改表格分隔符为英文"|",而不是中文"|"。 --- book/contents/async/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/contents/async/getting-started.md b/book/contents/async/getting-started.md index b0daad22..19141ba9 100644 --- a/book/contents/async/getting-started.md +++ b/book/contents/async/getting-started.md @@ -61,7 +61,7 @@ | 操作 | async | 线程 | | ---- | ----- | ---- | | 创建 | 0.3微妙 | 17微妙 | -| 线程切换 | 0.2微妙 | 1.7微妙 | +| 线程切换 | 0.2微妙 | 1.7微妙 | 可以看出,`async` 在线程切换的开销显著低于多线程,对于 IO 密集的场景,这种性能开销累计下来会非常可怕!