Posted in

为什么for range map结果每次都不一样?深入hmap.buckets内存布局,看懂Go 1.21+哈希扰动算法(含汇编级验证)

第一章:为什么for range … 为什么for range map结果每次都不一样?深入hmap.buckets内存布局,看懂Go 1.21+哈希扰动算法(含汇编级验证)Read more

Posted in

Go map“常量化”三阶跃迁:源码级(go:generate)、IR级(SSA重写)、机器码级(inline asm哈希表)

第一章:Go map“常量化”三 … Go map“常量化”三阶跃迁:源码级(go:generate)、IR级(SSA重写)、机器码级(inline asm哈希表)Read more