Hacker News new | past | comments | ask | show | jobs | submit login

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.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: