Grow

Ensure that the slice has sufficient capacity to grow without immediate reallocation.


slices.Grow([]int{1, 2}, 5)
                        
introduction.go