sync.Pool的使用
摘要:一定要搞明白sync.Pool的正确用法,避免出现以下问题: kline := this.pool.Get() defer this.pool.Put(kline) kline.UnMarshal(data) select { case this.chKLine
阅读全文
posted @ 2018-05-14 20:56
todo
posted @ 2018-05-14 20:56