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

Remove entity hashmap lookups #109

Open
Avokadoen opened this issue May 4, 2023 · 2 comments
Open

Remove entity hashmap lookups #109

Avokadoen opened this issue May 4, 2023 · 2 comments

Comments

@Avokadoen
Copy link
Owner

Refactor entities to be a u64 that stores location of entity in the bits without having any hashmap lookups needed

TODO:
specify which bits represent what

Avokadoen added a commit that referenced this issue May 14, 2023
…odes

This is meant to enable the implementation of #109 and resolved #47, #60
@Avokadoen
Copy link
Owner Author

This would not work since removing an entity would have side effects on entities right of the remove entity. I'll think about potential work-arounds, but I will most likely close this without any commit :(

@Avokadoen
Copy link
Owner Author

We can remove the lookup for the archetype containing the entity since this can be a index encoded in the entity id

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