2 ms·
Well, as I mentioned there are escape hatches, but those come at a price in usually maintainability, e.g. using SoA, or external heap. If you do have a million
by kaba0 4y ago
Well, as I mentioned there are escape hatches, but those come at a price in usually maintainability, e.g. using SoA, or external heap.
If you do have a million objects and it is indeed a performance bottleneck (as shown by the profiler) then it might be worthwhile to pursue these solutions, or even implementing them in another language. Noone claims that Java is for everything, but it is for most things.