Skip to content

Releases

Ants v2.2.0, Clannad

Choose a tag to compare

@panjf2000 panjf2000 released this 13 Oct 17:39

wp3745426-clanned-wallpapers

Features

  • Support loop queue as workers queue #53

Enhancements

  • Refine the logic of sync.Pool b1cf2ff
  • Refactoring to the interface and implementations of worker-array 566511e
  • Make optimization to Pool and PoolWithFunc struct 5ecbdf4

Docs

Misc

Ants v2.1.0, Love, Chunibyo & Other Delusions

Choose a tag to compare

@panjf2000 panjf2000 released this 27 Sep 13:10

384660575-b1afcf61-a6f0-4696-b9cf-114586a8cd39

Enhancements

  • Replace mutex with spin-lock e73db1d

Ants v2.0.0, Dragon Ball

Choose a tag to compare

@panjf2000 panjf2000 released this 26 Sep 05:59

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

Choose a tag to compare

@panjf2000 panjf2000 released this 25 Aug 06:39

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

Choose a tag to compare

@panjf2000 panjf2000 released this 17 Aug 17:28

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

Choose a tag to compare

@panjf2000 panjf2000 released this 30 Aug 17:01

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
⌂ 换网址