mirror of https://github.com/panjf2000/ants.git
Add anchor-links in READMEs
This commit is contained in:
parent
6b4a00c5cc
commit
b5a214b59f
|
@ -26,7 +26,7 @@ Library `ants` implements a goroutine pool with fixed capacity, managing and rec
|
||||||
- Purging overdue goroutines periodically
|
- Purging overdue goroutines periodically
|
||||||
- Friendly interfaces: submitting tasks, getting the number of running goroutines, tuning capacity of pool dynamically, closing pool
|
- Friendly interfaces: submitting tasks, getting the number of running goroutines, tuning capacity of pool dynamically, closing pool
|
||||||
- Handle panic gracefully to prevent programs from crash
|
- Handle panic gracefully to prevent programs from crash
|
||||||
- Efficient in memory usage and it even achieves higher performance than unlimited goroutines in Golang
|
- Efficient in memory usage and it even achieves [higher performance](#-performance-summary) than unlimited goroutines in Golang
|
||||||
- Nonblocking mechanism
|
- Nonblocking mechanism
|
||||||
|
|
||||||
## ⚔️ Tested in the following Golang versions:
|
## ⚔️ Tested in the following Golang versions:
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
- 定时清理过期的 goroutines,进一步节省资源
|
- 定时清理过期的 goroutines,进一步节省资源
|
||||||
- 提供了友好的接口:任务提交、获取运行中的协程数量、动态调整协程池大小
|
- 提供了友好的接口:任务提交、获取运行中的协程数量、动态调整协程池大小
|
||||||
- 优雅处理 panic,防止程序崩溃
|
- 优雅处理 panic,防止程序崩溃
|
||||||
- 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生 goroutine 并发具有更高的性能
|
- 资源复用,极大节省内存使用量;在大规模批量并发任务场景下比原生 goroutine 并发具有[更高的性能](#-性能小结)
|
||||||
- 非阻塞机制
|
- 非阻塞机制
|
||||||
|
|
||||||
## ⚔️ 目前测试通过的Golang版本:
|
## ⚔️ 目前测试通过的Golang版本:
|
||||||
|
|
Loading…
Reference in New Issue