Skip to content

Releases: xgfone/go-pools

v0.6.0

13 Apr 15:07
Compare
Choose a tag to compare
  • Added:
    • Add the capacity object pool CapPool.
    • Add the Get method for the type Object.
  • Changed:
    • Remove the task pool.
    • Refactor the byte and interface slice pool and the buffer pool.

v0.5.0

19 Oct 14:03
Compare
Choose a tag to compare
  • Changed:
    • Use the generics to refactor the object pool.

v0.4.1

19 Oct 13:13
Compare
Choose a tag to compare
  • Fixed:
    • Re-implement WaitAllTaskResults to avoid panicking.
    • TaskStat.String() renames TaskPool to TaskStat.

v0.4.0

22 Sep 13:14
Compare
Choose a tag to compare
  • Added:
    • Add the new pools FixedBytesPool and InterfacesPool to support the types []interface{} and the fixed size []slice.
  • Changed:
    • Refactor the pools BytesPool and BufferPool.

v0.3.0

31 Mar 02:51
Compare
Choose a tag to compare
  • Added:
    • TaskPool supports the default task and only submits the task arguments. For example,
      pool := pools.NewTaskPool(10, 100)
      pool.SetDefaultTask(pools.TaskFunc(func(ctx context.Context, args ...interface{}) (interface{}, error) { ... }))
      pool.Submit(arg11, arg12, arg13)
      pool.Submit(arg21, arg22, arg23)
      pool.Submit(arg31, arg32, arg33)

v0.2.0

18 Aug 06:00
Compare
Choose a tag to compare
  • Fixed:
    • Rename the module name from github.com/xgfone/pools to github.com/xgfone/go-pools.

v0.1.0

13 May 13:31
Compare
Choose a tag to compare

First Release.