3 ms·
You typically wouldn't use an array with a million objects in Java if you cared about performance though (for exactly that reason), you'd architect it some othe
by hucker 6y ago
You typically wouldn't use an array with a million objects in Java if you cared about performance though (for exactly that reason), you'd architect it some other way. Using SoA style when appropriate, for example.
- iamcreasy 6y agoDo you mean Structure of Arrays? Can you point to some resource to learn more about Java SoA? Quick google search didn't yield anything useful.