3 ms·
> maybe the ECS part is the dod part? Yes, ECS' usually give you at least a good default that is data oriented. At a glance it seems like it does[0]. Notice ho
by dgb23 6y ago
> maybe the ECS part is the dod part?
Yes, ECS' usually give you at least a good default that is data oriented. At a glance it seems like it does[0]. Notice how some systems (functions) iterate over components rather than entities, which implies a "struct of arrays" layout that benefits caching.
[0] https://bevyengine.org/news/introducing-bevy/#bevy-ecs https://bevyengine.org/news/introducing-bevy/#bevy-ecs
Also check here (in their book):
https://bevyengine.org/learn/book/getting-started/ecs/ https://bevyengine.org/learn/book/getting-started/ecs/