4 ms·
> no wasted space between them That too but also, if you have array of objects, then compacting GC will replace those objects in continuous area in memory. So
by c-smile 7y ago
> no wasted space between them
That too but also, if you have array of objects, then compacting GC will replace those objects in continuous area in memory. So conceptually it will optimize access to those objects. Cache prefetching by modern processors, all that.