Posted in

Go中字符串参数的“双面性”:为什么len(s)为0时仍可能触发底层数组拷贝?runtime/string.go第89行注释揭示答案

第一章:Go语言如何看传递的参数 … Go中字符串参数的“双面性”:为什么len(s)为0时仍可能触发底层数组拷贝?runtime/string.go第89行注释揭示答案Read more