1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 04:22:22 +00:00

ch1.6: 规范化图像编号

This commit is contained in:
chai2010 2018-08-14 20:54:56 +08:00
parent c2703096fb
commit 18a4a72f9c
2 changed files with 4 additions and 1 deletions

View File

@ -416,7 +416,10 @@ func main() {
在“Hello world 的革命”一节中我们为了演示Newsqueak的并发特性文中给出了并发版本素数筛的实现。并发版本的素数筛是一个经典的并发例子通过它我们可以更深刻地理解Go语言的并发特性。“素数筛”的原理如图
![](../images/ch1-02-prime-sieve.png)
![](../images/ch1.6-1-prime-sieve.png)
*图 1.6-1 素数筛*
我们需要先生成最初的`2, 3, 4, ...`自然数序列不包含开头的0、1

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB