1) for i := range nums { nums[i] = rand.Int() } for _, x := range nums { total += x } return total } $ go-perftuner esc 1.go escapedVariable example (4)
1) for i := range nums { nums[i] = rand.Int() } for _, x := range nums { total += x } return total } $ go-perftuner esc 1.go esc: ./old.go:16:14: make([]int, 8191 + 1) $ escapedVariable example (4)