Posted in

Go的import . “xxx”到底多危险?实测导致vendor hash冲突、go mod graph断裂、以及cgo构建失败的4种连锁反应

第一章:Go的import . … Go的import . “xxx”到底多危险?实测导致vendor hash冲突、go mod graph断裂、以及cgo构建失败的4种连锁反应Read more

Posted in

Go map哈希结构终极冷知识:当B=0时,buckets指向一个全局只读空bucket,但该bucket的tophash[0]永远≠0——为什么?

第一章:Go map哈希底层用的 … Go map哈希结构终极冷知识:当B=0时,buckets指向一个全局只读空bucket,但该bucket的tophash[0]永远≠0——为什么?Read more