Skip to content

Releases: panjf2000/ants

Ants v2.0.0, Dragon Ball

26 Sep 05:59
Compare
Choose a tag to compare

wp12643607-dragon-ball-desktop-4k-wallpapers

Features

  • Optimize memory allocation and add the log of panic stack (#40)
  • Support nonblocking submit and max blocking limit setting (#41)
  • Add functional options pattern for ants 201ac20

Bugfixes

  • Fix a bug that blocks getting worker from pool 51c0008
  • Fix a bug where invokers get stuck in waiting idle workers af70ed0 08d01b6
  • Fix a bug that worker didn't minus the amount of running workers when it exits (#51)

Enhancements

  • Improve the process of cleaning up idle workers (#39)
  • Refactor the blocking logic in retrieveWorker function 61660e2
  • Improve the the logic of tuning the pool size and support go modules cbf8ddf

Docs

Misc

  • Support go mod 26cbd88
  • Rename the function with the more applicable name 71faec8
  • Fix some minor mistakes in test cases 9476326
  • Create CODE_OF_CONDUCT.md (#48)
  • Create pull_request_template.md 40defbb

Ants v1.2.0, Memories

25 Aug 06:39
Compare
Choose a tag to compare

p2550399213

Features

  • Support nonblocking submit and max blocking limit setting (#41)

Bugfixes

  • Fix a bug where invokers get stuck in waiting idle workers af70ed0 08d01b6

Misc

  • Update example code 6851895
  • Fix some ill-formed code in unit tests b4dce88

Ants v1.1.0, Violet Evergarden

17 Aug 17:28
Compare
Choose a tag to compare

wp7288143-violet-evergarden-anime-wallpapers

Features

  • Optimize memory allocation and add the log of panic stack (#40)

Enhancements

  • Optimize the logic when cleaning up expired workers (#39) 9eb91a4
  • Refactor the blocking logic in retrieveWorker function 61660e2

Bugfixes

  • Fix a bug that blocks getting worker from pool 51c0008

Docs

  • Update Github badges 6b5c370
  • Add a section for new feature: pre-malloc d931ac0

Misc

Ants v1.0.0, Your Name

30 Aug 17:01
Compare
Choose a tag to compare

p2415896429

Features

  • Managing and recycling a massive number of goroutines automatically
  • Purging overdue goroutines periodically
  • Abundant APIs: submitting tasks, getting the number of running goroutines, tuning capacity of pool dynamically, releasing pool, rebooting pool
  • Efficient in memory usage and it even achieves higher performance than unlimited goroutines in Golang