3 ms·
I'm not familiar with the state of go escape analysis. It would play into it, but then you'd also argue that you don't need it in C because you'd simply put th
by cogman10 4y ago
I'm not familiar with the state of go escape analysis. It would play into it, but then you'd also argue that you don't need it in C because you'd simply put that sort of thing on the stack rather than the heap.
GC will win when heap allocations are frequent, short lived, and unavoidable.