4 ms·
Is it worth making short lived allocations just to please the GC? You might just end up with too many allocations which will slow things down even more.
by nurettin 2y ago
Is it worth making short lived allocations just to please the GC? You might just end up with too many allocations which will slow things down even more.
- aktau 2y agoIt is not. Please see my answer (https://news.ycombinator.com/item?id=43545500 https://news.ycombinator.com/item?id=43545500).