Commit Graph

645 Commits

Author SHA1 Message Date
Andy Pan 56c4356734 🍒 Add performance diagram 2019-02-19 11:31:31 +08:00
Andy Pan 6cf3ef96e6 🐉 Adapt ants for explicit functions 2019-02-02 10:36:40 +08:00
Andy Pan 64b763c558 🦠 Adapt code for explicit functions 2019-02-02 10:36:40 +08:00
Andy Pan b49328d4e6 🏓 Update example code 2019-02-02 10:36:40 +08:00
Andy Pan 834c550921 🧲 Update example code 2019-02-02 10:36:40 +08:00
Andy Pan 8dd9d3e75b 🧬 Replace anonymous function with explicit function 2019-02-02 10:36:40 +08:00
Andy Pan 15507b021f 🚀 Support not only anonymous but also explicit functions 2019-02-02 10:36:40 +08:00
Andy Pan 1d33782287 🐠 Adapt worker for explicit functions 2019-02-02 10:36:40 +08:00
Andy Pan a6a76fa753 🐒 Comments Enrichment 2019-01-31 23:58:38 +08:00
Andy Pan 530fdbb4e0 🥶 Glorify go in the light of golint tool 2019-01-31 23:07:38 +08:00
Andy Pan 1f2eaecfd8 🥶 Glorify go in the light of golint tool 2019-01-31 23:06:39 +08:00
Andy Pan 696fb7095e 🐅 Grammar improvement 2019-01-31 22:52:57 +08:00
Andy Pan c80af4dd6e 🐻 gofmt code 2019-01-29 20:51:34 +08:00
Andy Pan e988680ffc 🎷 Reset the unit tests to default core number 2019-01-27 13:32:40 +08:00
Andy Pan 204e93011d 🍀 Reset to the default config 2019-01-27 13:32:40 +08:00
Andy Pan 72bf8e2fb5 🎠 Do the code coverage test with multiple-cores and skip it when it is single-core 2019-01-27 12:57:53 +08:00
Andy Pan 454693c2db 🍀 Specify cpu flag in go test 2019-01-27 12:53:54 +08:00
Andy Pan 250b05bd03 🐼 Improvement to travis-ci 2019-01-27 12:17:45 +08:00
Andy Pan c4d92bf4ef 🍁 Replace the data type of periodical duration with a constant 2019-01-27 12:16:51 +08:00
Andy Pan 182c335275 🍩 Unit tests improvement: more functions to cover more code 2019-01-27 05:31:29 +08:00
Andy Pan 91377c898b 🦅 Fix a bug when using sync.Pool 2019-01-27 05:10:13 +08:00
Andy Pan 822158c59c 🐳 Add test cases for sync.Pool 2019-01-27 05:10:13 +08:00
Andy Pan 840634ae51 🐳 Add test cases for sync.Pool 2019-01-27 05:10:13 +08:00
Andy Pan 5c666692e9 🐬 Code logic improvement in pool.retrieveWorker 2019-01-27 04:25:36 +08:00
Andy Pan 689d74c63b Refactor about the synchronous lock 2019-01-27 04:05:58 +08:00
Andy Pan dcf13e8f75 🐢 Updated to correct the branch info 2019-01-27 03:17:40 +08:00
Andy Pan 049de4139f 🐾 Refactor unit tests to support sync.Pool testing 2019-01-27 03:15:19 +08:00
Andy Pan 1ce7524890 🍉 Correct the links in README.md 2019-01-27 03:15:19 +08:00
Andy Pan deff3a2beb 🦖 Add more unit tests for the near-perfect code coverage 2019-01-27 02:32:37 +08:00
Andy Pan b4c12aaf7e 🦋 Ignore potential error returned by pool.Release() explicitly 2019-01-27 02:30:15 +08:00
Andy Pan 76537c33be 🍻 Add a section of supported go versions 2019-01-27 02:07:33 +08:00
Andy Pan 908553139c 🐬 Performance improvement: use sync.Pool to cache active workers 2019-01-27 00:26:24 +08:00
Andy Pan 30bf38e6a8 🐝 Performance improvement: use sync.Pool to cache active workers 2019-01-27 00:25:47 +08:00
Andy Pan 29f47ced64 🌊 Updated to fit the refactor 2019-01-27 00:06:32 +08:00
Andy Pan c50c1eac23 🚀 Updated to fit the refactor 2019-01-27 00:05:51 +08:00
Andy Pan 90f672b9d5 update 2019-01-26 21:45:49 +08:00
Andy Pan f8d71bb276 🐯 Refactor variable "release" with atomic operation 2019-01-26 15:29:05 +08:00
Andy Pan b091435432 🐲 An optimization in worker channel 2019-01-26 14:32:12 +08:00
Andy Pan c829c6f622 🐶 Replace the type of variable "release" with bool type 2019-01-26 13:45:00 +08:00
Andy Pan 096e6f1513 🦁 Fix the bug in function "Submit()" 2019-01-26 13:16:35 +08:00
Andy Pan e15105fd84 🚗 Reduce a blank line 2019-01-26 12:29:07 +08:00
Andy Pan d3bcc5d10b 🐳 Use the nil of chan to indicate the pool closed or not 2019-01-26 12:26:26 +08:00
Andy Pan 6761702a6d 🌊 Add a description for new feature and improve the English grammar 2019-01-25 23:04:23 +08:00
Andy Pan 870b9fbfa1 ️ Add a description for new feature 2019-01-25 23:04:23 +08:00
Andy Pan b6e43aeee3 🐯 Optimize code comments 2019-01-25 22:01:25 +08:00
Andy Pan 65b3ac9ff7 🐉 Optimize code comments 2019-01-25 22:01:11 +08:00
Andy Pan 24c28c985c 🌎 Reduce blank lines 2019-01-25 22:00:33 +08:00
Andy Pan a0364a1128 🐜 Reduce blank lines 2019-01-25 21:55:25 +08:00
Andy Pan 089a7321ef 🚀 Update the comment about error types 2019-01-25 21:54:44 +08:00
Andy Pan e65a7d49b7 🐿 Simplify code. 2019-01-25 21:36:28 +08:00