forked from mirror/ants
Update README_CN
This commit is contained in:
parent
80b807db18
commit
0be4487445
|
@ -293,6 +293,10 @@ p, _ := ants.NewPool(100000, ants.WithPreAlloc(true))
|
||||||
pool.Release()
|
pool.Release()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 关于任务执行顺序
|
||||||
|
|
||||||
|
`ants` 并不保证提交的任务被执行的顺序,执行的顺序也不是和提交的顺序保持一致,因为在 `ants` 是并发地处理所有提交的任务,提交的任务会被分派到正在并发运行的 workers 上去,因此那些任务将会被并发且无序地被执行。
|
||||||
|
|
||||||
## 🧲 Benchmarks
|
## 🧲 Benchmarks
|
||||||
|
|
||||||
<div align="center"><img src="https://user-images.githubusercontent.com/7496278/51515466-c7ce9e00-1e4e-11e9-89c4-bd3785b3c667.png"/></div>
|
<div align="center"><img src="https://user-images.githubusercontent.com/7496278/51515466-c7ce9e00-1e4e-11e9-89c4-bd3785b3c667.png"/></div>
|
||||||
|
|
Loading…
Reference in New Issue