ecs_bench
ecs_bench copied to clipboard
Real sparse components
Currently, in a pos-vel bench, we have N entities with both followed by M entities with only the position. This setup doesn't really favour any compromises other than simple linear vectors. I suggest inserting a pos-vel entity after each K pos-only entities (say, K=9).
This would highlight the differences between hash maps, vectors, and dense vectors.