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

Tag component #53

Open
leudz opened this issue Feb 9, 2020 · 0 comments
Open

Tag component #53

leudz opened this issue Feb 9, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@leudz
Copy link
Owner

leudz commented Feb 9, 2020

It's possible to add empty components but they'll still use an EntityId per component and up to an usize per entity in the World (could go down with #10 if the tagged entities are in the right spot).
This could be far less, one bit per entity in the World with the possibility to go even lower using pagination.

Since the storage wouldn't store EntityId it won't be possible to call with_id on these storages but with #52 we'll still be able to iterate them.
There would be a new Tag type used like Unique to access the storage.

@leudz leudz added the enhancement New feature or request label Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant