Hacker News new | ask | show | jobs
by LBarret 2841 days ago
I agree with you but this I am not sure it is the right example. In this case, the position of the zergs would be indirectly a component. You would have arrays of struct Zergs, each would only have a ref (or an index) to an arrays of positions. this array would be updated efficiently.
1 comments

Yes, you could do that, but then you don't have SOA or AOS, you have SORTA (struct of references to arrays).