Re:A deep dive into the Go memory allocator and garbage coll...
by netheril96 on Friday August 31, 2018 @07:17AM
(#17884562)
In C++ if the class has non-trivial constructors, neither stack nor heap allocations are free. So in C++ reusing objects is still often better for performance.
[ Parent
| on HN ]