go tool compile 寻找 make 的实现

2021-11-27  本文已影响0人  就是耍帅

通过编译指令 go tool compile -N -l -S 可以看到使用了 runtime包中的 makeslice 的方法

上一篇 下一篇

猜你喜欢

热点阅读