Open utterances-bot opened 4 years ago
https://eddycjy.com/posts/go/slice/2019-01-06-why-slice-max/
go 1.12 runtime.makeslice 的源码和文中发生了变化, 返回值也不再是slice,而是unsafe.Pointer
typo:最后一行
注:本文 Go 代码基于版本 11.4
Go Slice 最大容量大小是怎么来的
https://eddycjy.com/posts/go/slice/2019-01-06-why-slice-max/