Posted in

Go sync.Pool误用十大场景:对象复用≠无条件Put,time.Timer、bytes.Buffer、http.Header的Pool化边界与GC压力反模式(附pprof heap diff对比)

第一章:Go sync.Pool … Go sync.Pool误用十大场景:对象复用≠无条件Put,time.Timer、bytes.Buffer、http.Header的Pool化边界与GC压力反模式(附pprof heap diff对比)Read more

Posted in

【Go入门倒计时】:仅剩3个关键概念没掌握——context取消传播、sync.Pool复用、unsafe.Pointer边界

第一章:Go语言入门基础与环境搭 … 【Go入门倒计时】:仅剩3个关键概念没掌握——context取消传播、sync.Pool复用、unsafe.Pointer边界Read more