第一章:Go语言如何看传递的参数 … Go中字符串参数的“双面性”:为什么len(s)为0时仍可能触发底层数组拷贝?runtime/string.go第89行注释揭示答案Read more
底层数组拷贝
【Go Map 性能暗礁预警】:当map键为[]byte时,底层数组拷贝开销竟占CPU时间38%!
第一章:Go Map 性能暗礁预 … 【Go Map 性能暗礁预警】:当map键为[]byte时,底层数组拷贝开销竟占CPU时间38%!Read more
第一章:Go Map 性能暗礁预 … 【Go Map 性能暗礁预警】:当map键为[]byte时,底层数组拷贝开销竟占CPU时间38%!Read more