4 ms·
Garbage collection isn't that slow. I find allocating off the fragmented memory after collection slower.
by z92 7y ago
Garbage collection isn't that slow. I find allocating off the fragmented memory after collection slower.
- vidarh 7y agoA good gc isn't slow. But a naive one that tends to be awful. E.g common problems involve thrashing cache by touching the entire heap regularly.