Posted in

Go map读写吞吐量卡在1.8M ops/sec?解锁unsafe.Pointer绕过类型检查的合法提速方案(已通过Go 1.22 vet)

第一章:Go map读写吞吐量卡 … Go map读写吞吐量卡在1.8M ops/sec?解锁unsafe.Pointer绕过类型检查的合法提速方案(已通过Go 1.22 vet)Read more

Posted in

Go语言类型安全边界(为什么map[int]map[int]int在go vet下静默通过,却在race detector中必然崩溃?)

第一章:Go语言类型安全边界与二 … Go语言类型安全边界(为什么map[int]map[int]int在go vet下静默通过,却在race detector中必然崩溃?)Read more