3 ms·
> // But it also even has an explicit n * m form as well. > make([]Object, n, m); make([]T, m, n) does not allocate a slice of length n*m, but of length n and
by yath_ 5y ago
> // But it also even has an explicit n * m form as well.
> make([]Object, n, m);
make([]T, m, n) does not allocate a slice of length n*m, but of length n and capacity m.