4 ms·
Depending on the workload different memory allocation strategies perform better or worse. GC systems usually even have the fastest allocation. The only problem
by legulere 7y ago
Depending on the workload different memory allocation strategies perform better or worse. GC systems usually even have the fastest allocation. The only problem is that you see deallocation as one big block that is completely disconnected from allocation.
- p_l 7y agoIn throughput-optimized GC setups (not latency optimized) that's the case. Though free(), despite being seemingly "constant", can have unpredictable pause times as well when you hit a bad point.