Closed
Description
First of all, thanks for the great addon, this looks very well architected and seems to be one of the only options available for implementing ECS in Godot.
I did some experiments and noticed that queries have a huge overhead performance-wise.
My question is, do you have any plans, or see any potential route for optimizing queries more? E.g. caching entities that match a query and keeping that cache up to date preemptively (e.g. when an entity is added to the world / when components of an entity are modified).
EDIT:
Another approach would be to index Archetypes instead of entities per component
Thanks again!