# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Go common package examples
Minimum Go version is 1.16
常见优化手段:
- 提高复用性,将通用的代码抽象出来,减少重复开发。
- 池化,对象可以池化,减少内存分配;协程可以池化,避免无限制创建协程打满内存。
- 并行化,在合理创建协程数量的前提下,把互不依赖的部分并行处理,减少整体的耗时。
- 异步化,把不需要关心实时结果的请求,用异步的方式处理,不用一直等待结果返回。
- 算法优化,使用时间复杂度更低的算法。