Posted in

【Go核心源码解密系列①】:深入hmap.buckets内存池分配策略——为什么Go不用malloc而用mcache+span?实测降低alloc延迟41%

第一章:hmap内存布局与核心数 … 【Go核心源码解密系列①】:深入hmap.buckets内存池分配策略——为什么Go不用malloc而用mcache+span?实测降低alloc延迟41%Read more

Posted in

Golang字节编码长度解析(RFC 3629合规性深度验证):从源码级解读unicode/utf8包的len()底层逻辑

第一章:Golang字节编码长度 … Golang字节编码长度解析(RFC 3629合规性深度验证):从源码级解读unicode/utf8包的len()底层逻辑Read more

Posted in

【20年压箱底笔记】Golang百科源码高频面试题TOP15(含runtime.Gosched、unsafe.Sizeof等11个源码级考点详解)

第一章:Golang百科源码的演 … 【20年压箱底笔记】Golang百科源码高频面试题TOP15(含runtime.Gosched、unsafe.Sizeof等11个源码级考点详解)Read more