2 ms·
The biggest difference is that you cannot actually force Go to allocate on stack (which is the only important use case in this context), the escape analysis onl
by zzzcpan 10y ago
The biggest difference is that you cannot actually force Go to allocate on stack (which is the only important use case in this context), the escape analysis only works for primitive cases, but throw a higher order function into it and it fails.