Ants v2.9.0 #308
panjf2000
announced in
Announcements
Ants v2.9.0
#308
Replies: 1 comment
-
Cool stuff!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🚀 Features
🛩 Enhancements
retrieveWorker
to make it more readable (refactor: refine the code inretrieveWorker
to make it more readable #295)🐛 Bugfixes
Release()
(opt: fix the potential goroutine leak after callingRelease()
#287)📚 Documentation
🗃 Misc
Full Changelog: v2.8.0...v2.9.0
Performance improvement
In version v2.9.0,
ants
introduces two new pool types:MultiPool
andMultiPoolWithFunc
from which you will benefit theperformance improvement on the basis of the fine-grained locking that reduces the lock contention.
These two pools are a good fit for the scenario where you have a large number of tasks to submit, and you don't want the single pool to be the bottleneck.
Benchmark testing
Thanks to all these contributors: @ELchem, @POABOB and @panjf2000 for making this release possible.
This discussion was created from the release Ants v2.9.0.
Beta Was this translation helpful? Give feedback.
All reactions