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

Generate EntityIndex #75

Closed
sschmid opened this issue Mar 6, 2016 · 4 comments
Closed

Generate EntityIndex #75

sschmid opened this issue Mar 6, 2016 · 4 comments
Assignees
Milestone

Comments

@sschmid
Copy link
Owner

sschmid commented Mar 6, 2016

Generate Indexer class for fast lookups for fields in components tagged with [IndexKey]

public class NameComponent {
  [IndexKey]
  public string value;
}

var entity = pool.GetEntityWithNameValue("Player1");
@sschmid
Copy link
Owner Author

sschmid commented Mar 6, 2016

@mzaks

@sschmid sschmid self-assigned this Mar 29, 2016
@sschmid sschmid added ready and removed ready labels Mar 29, 2016
@sschmid sschmid added in progress and removed ready labels May 14, 2016
@sschmid sschmid added ready and removed in progress labels Aug 31, 2016
@sschmid
Copy link
Owner Author

sschmid commented Aug 31, 2016

Update:
EntityIndex is already available on develop and can be used.
The code generators are not updated yet. This will probably happen after the typed Entity and Pool is implemented. See #139

@sschmid sschmid mentioned this issue Sep 6, 2016
@sschmid sschmid removed the ready label Sep 22, 2016
@sschmid sschmid changed the title Generate Indexer Generate EntityIndex Feb 14, 2017
@sschmid sschmid added this to the 0.38.0 milestone Feb 14, 2017
@sschmid sschmid added ready and removed ready labels Feb 16, 2017
@sschmid
Copy link
Owner Author

sschmid commented Feb 24, 2017

Time flies... Can't believe this issue is almost one year old... 🤦‍♂️

@sschmid
Copy link
Owner Author

sschmid commented Feb 24, 2017

But at least my estimation was correct ;)

Update:
EntityIndex is already available on develop and can be used.
The code generators are not updated yet. This will probably happen after the typed Entity and Pool is implemented. See #139

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

No branches or pull requests

1 participant