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

ComponentDependency - Create Efficient Data Structure to manage Component Data dependencies #228

Open
mbaker3 opened this issue Apr 24, 2023 · 0 comments
Labels
effort-medium Standard - 2 to 4 hours priority-medium Standard task, plan as you see fit. type-feature New feature or request

Comments

@mbaker3
Copy link
Member

mbaker3 commented Apr 24, 2023

With the introduction of #226 we now have a way to get (and soon add) dependencies to schedule jobs against component data without getting other ECS pieces involved (Systems, EntityQuery, etc..).

The extension methods work well but the type arrays must be re-populated on every GetDependency and AddDependency call. Both of those methods are almost always called one after another so the rebuilding of the arrays is unnecessary overhead.

It may just be a matter of wrapping the component type arrays into a structure and fitting this this component dependency API to an AccessController.

@mbaker3 mbaker3 added effort-medium Standard - 2 to 4 hours priority-medium Standard task, plan as you see fit. type-feature New feature or request labels Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort-medium Standard - 2 to 4 hours priority-medium Standard task, plan as you see fit. type-feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant