Commit Graph

43 Commits

Author SHA1 Message Date
andy pan 402b7ce123 Merge branch 'develop' 2018-05-21 10:41:59 +08:00
andy pan 4c08436194 format the some comments 2018-05-21 10:37:03 +08:00
Andy Pan 0244b2356f update MIT license info 2018-05-20 23:57:48 +08:00
Andy Pan 760cd13e70 update benchmarks section in readme 2018-05-20 23:46:28 +08:00
Andy Pan 679af052bd add MIT license 2018-05-20 23:39:17 +08:00
Andy Pan 1b2113dd67 update readme 2018-05-20 23:35:28 +08:00
Andy Pan 4c2aa0fa8d update readme 2018-05-20 23:34:34 +08:00
Andy Pan e8c5451c92 update the readme 2018-05-20 23:27:20 +08:00
Andy Pan 6f6a14b29e update the example code 2018-05-20 23:26:15 +08:00
Andy Pan f0c48f295b golint the codes 2018-05-20 21:41:32 +08:00
Andy Pan 47e2b9efaa gofmt 2018-05-20 21:29:38 +08:00
Andy Pan a008afdc73 gofmt 2018-05-20 21:28:32 +08:00
Andy Pan 8ce8486b70 add copyright for go test 2018-05-20 21:25:59 +08:00
Andy Pan e45aaccb97 update - 2018-05-20 21:24:54 +08:00
Andy Pan 1963c3c39b correct the function name 2018-05-20 21:23:44 +08:00
Andy Pan 4d7d0b1a8a update go test 2018-05-20 21:21:56 +08:00
Andy Pan 301221be5d add all comments 2018-05-20 21:09:45 +08:00
Andy Pan 1ee8144272 add a new module of cleaning up goroutines 2018-05-20 18:57:11 +08:00
Andy Pan 2b0c0227b6 add the copyright of MIT license 2018-05-20 16:37:17 +08:00
Andy Pan ddcdb57b63 pass the benchmark test 2018-05-20 16:22:56 +08:00
Andy Pan d24d6020c3 optimization 2018-05-20 15:28:27 +08:00
Andy Pan 5b274e54b4 test 2018-05-20 11:51:14 +08:00
Andy Pan c5e17c566b update 2018-05-20 10:23:49 +08:00
Andy Pan 92bcb74066 remove useless comments 2018-05-20 09:46:49 +08:00
Andy Pan 798a61d175 optimize memory using 2018-05-20 03:35:31 +08:00
Andy Pan 91349c14bb use sync.Pool to recycle goroutines 2018-05-20 02:52:39 +08:00
Andy Pan a59f51fefd update 2018-05-20 01:38:50 +08:00
Andy Pan 3a8cc09373 update benchmark 2018-05-20 00:11:51 +08:00
Andy Pan 315a18400c update go test 2018-05-19 20:16:33 +08:00
Andy Pan 0423264ffa use WaitGroup to wait all goroutines to exit 2018-05-19 19:51:33 +08:00
Andy Pan 0fd8ba8dae use the "container/list" to keep workers 2018-05-19 19:08:31 +08:00
Andy Pan 2929cede54 use sync.Pool 2018-05-19 18:24:36 +08:00
Andy Pan 0c7ba6d3ac optimization 2018-05-19 16:10:38 +08:00
Andy Pan 04e6d942d4 add benchmark test 2018-05-19 15:57:04 +08:00
Andy Pan 2f6f0de82b update go test 2018-05-19 15:22:14 +08:00
Andy Pan 5c30d8f881 update 2018-05-19 13:11:21 +08:00
Andy Pan 8ff88950b8 add codes for reusing workers 2018-05-19 13:09:44 +08:00
Andy Pan b7b2b27596 reuse workers 2018-05-19 12:57:01 +08:00
Andy Pan 7bf85c2a66 optimize worker queue 2018-05-19 12:36:28 +08:00
Andy Pan e683ddc821 add go test 2018-05-19 12:33:29 +08:00
Andy Pan c7cac2be5f init proj 2018-05-19 12:28:03 +08:00
Andy Pan 7e9903d559 init proj 2018-05-19 09:15:54 +08:00
Andy Pan 332661bec3
Initial commit 2018-05-19 09:13:39 +08:00