Commit Graph

13 Commits

Author SHA1 Message Date
barryz 83042d7095 pre-allocate the capacity of the worker list 2018-07-25 22:28:11 +08:00
Andy Pan eaf79d239f fixed some issues 2018-07-16 01:21:23 +08:00
Andy Pan 813cc218fe simplify and optimize goroutine-worker 2018-07-15 00:52:27 +08:00
andy pan 337c644550 add expired time for PoolWithFunc 2018-07-06 14:39:24 +08:00
andy pan d56ebb1a29 finish the ReSize() and Release() methods 2018-05-30 12:57:20 +08:00
andy pan 92a7dec196 optimization 2018-05-30 12:37:13 +08:00
Andy Pan 4b806f461b change some comments 2018-05-25 00:43:53 +08:00
andy pan 07f98b4ac6 remove some comments 2018-05-24 19:30:18 +08:00
andy pan ab6390f6d0 optimization 2018-05-24 19:27:54 +08:00
andy pan ff4b7d8a22 update 2018-05-24 18:30:58 +08:00
Andy Pan 0453f88168 update 2018-05-23 00:46:43 +08:00
Andy Pan 967b0b04e2 optimization 2018-05-22 12:01:00 +08:00
Andy Pan fad443d7d8 add a new type of pool, allowing to create a pool with a function 2018-05-22 11:26:16 +08:00