技术栈
对象复用
JCGKS
15 小时前
golang
·
对象池
·
对象复用
·
降低gc压力
Go|sync.Pool|临时对象池,实现临时对象的复用,降低GC压力
适用场景sync.Pool提供了三种方法结论
我是有底线的