4 ms·
It's not about escape analysis. The programmer explicitly specifies when to use pointers. Whenever pointers are not used, the object is stored in-place (for ex
by ericbb 14y ago
It's not about escape analysis.
The programmer explicitly specifies when to use pointers. Whenever pointers are not used, the object is stored in-place (for example, on the stack, in the array or slice, or in the struct).