A lot of the computations in the queries are very expensive, e.g. populating the compatible archetypes in the world, caching indices to the the columns and unpacking the entity ID's for flags + low and high IDs for indexing and relations.
All of this overhead can be paid once up front for each system. This similar to how Matter's runtime queries work right now.
A lot of the computations in the queries are very expensive, e.g. populating the compatible archetypes in the world, caching indices to the the columns and unpacking the entity ID's for flags + low and high IDs for indexing and relations.
All of this overhead can be paid once up front for each system. This similar to how Matter's runtime queries work right now.