Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cached Iterator #24

Open
Ukendio opened this issue May 4, 2024 · 0 comments
Open

Cached Iterator #24

Ukendio opened this issue May 4, 2024 · 0 comments

Comments

@Ukendio
Copy link
Owner

Ukendio commented May 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant