4 ms·
I've got a little secret: We do the same thing in native code. malloc() and free() can be almost as expensive as a GC in aggregate(it's a matter of paying the
by vvanders 11y ago
I've got a little secret: We do the same thing in native code.
malloc() and free() can be almost as expensive as a GC in aggregate(it's a matter of paying the cost at creation vs GC time). Pooling is a really nice performance tool, just requires a bit of hand tuning to the scenario.
- iamcreasy 11y agoSo Pooling is a performance tool for both cases? Native and GC.