Skip to content

Commit 18a4a72

Browse files
committed
ch1.6: 规范化图像编号
1 parent c270309 commit 18a4a72

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ch1-basic/ch1-06-goroutine.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,10 @@ func main() {
416416

417417
在“Hello world 的革命”一节中,我们为了演示Newsqueak的并发特性,文中给出了并发版本素数筛的实现。并发版本的素数筛是一个经典的并发例子,通过它我们可以更深刻地理解Go语言的并发特性。“素数筛”的原理如图:
418418

419-
![](../images/ch1-02-prime-sieve.png)
419+
![](../images/ch1.6-1-prime-sieve.png)
420+
421+
*图 1.6-1 素数筛*
422+
420423

421424
我们需要先生成最初的`2, 3, 4, ...`自然数序列(不包含开头的0、1):
422425

images/ch1.6-1-prime-sieve.png

7.77 KB
Loading

0 commit comments

Comments
 (0)