Closed delaneyj closed 8 months ago
Thanks for cutting these issues, this is awesome feedback and these are all great findings. I'd definitely like to hear any other suggestions you have! I've gone ahead and added you as a collaborator on this repo if you'd like to make the changes you outlined, otherwise I'll get them implemented sometime this week.
I think the generation idea can be VERY powerful but right now arche is orders of magnitude faster. I think there are approaches that could rival it without the need for archetype graphs but not sure how much you are interested in the topic compared to a fun test.
I'm definitely interested to hear ideas. I can think of some simple optimizations that could probably make this library 10x faster in a benchmark like https://github.com/mlange-42/arche?tab=readme-ov-file#benchmarks but I don't think they'd hold up to real world usage.
Fixed the bug in the issue
Works
Test at https://github.com/delaneyj/bar
Added more than 64 components... You'll notice that
Seems right but the ids overflow.
Love the idea of this project and have some suggestions if you are pursuing it further