05 2018 档案

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 angry-baby 阅读(250) 评论(0) 推荐(0)

导航