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开发者的“断崖式成长”:掌握这9个标准库黑科技——unsafe.Slice替代反射、sync.Pool定制交易池、net/http/httputil调试中间件

第一章:区块链Go开发者的“断崖 … 区块链Go开发者的“断崖式成长”:掌握这9个标准库黑科技——unsafe.Slice替代反射、sync.Pool定制交易池、net/http/httputil调试中间件Read more