There's even a whole discussion to be had here about arrays, locality of reference, cache eviction, false sharing, parallelization, etc. Summed up in short: data oriented design. Performance will improve vastly if you design for collections instead of objects. It's almost only stupid to think in lone objects these days.
We're a place where coders share, stay up-to-date and grow their careers.
There's even a whole discussion to be had here about arrays, locality of reference, cache eviction, false sharing, parallelization, etc. Summed up in short: data oriented design. Performance will improve vastly if you design for collections instead of objects. It's almost only stupid to think in lone objects these days.