ComponentDependency - Create Efficient Data Structure to manage Component Data dependencies #228
Labels
effort-medium
Standard - 2 to 4 hours
priority-medium
Standard task, plan as you see fit.
type-feature
New feature or request
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
andAddDependency
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
.The text was updated successfully, but these errors were encountered: