Because of cache locality, as i said previously, check how an ECS works so you can understand why it is important to organize your data for your hardware when you need performances.
Replacing an array of object pointers by an array of struct pointers has no sense.
1 Like