You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A "component tuple", not to be confused with Lua tuples/varargs (...), is a list of all entities with a fixed set of components on them. The Core can incrementally update the tuples, if they are statically known. This can be used to dramatically speed up the Core:components iterator, which is on a potentially very hot path and thus worthy of optimization effort.
More information on this coming later. This needs some substantial API design work - they may not be declared statically, it's possible that components can internally create component tuples under the hood without requiring user input.
The text was updated successfully, but these errors were encountered:
A "component tuple", not to be confused with Lua tuples/varargs (
...
), is a list of all entities with a fixed set of components on them. The Core can incrementally update the tuples, if they are statically known. This can be used to dramatically speed up theCore:components
iterator, which is on a potentially very hot path and thus worthy of optimization effort.More information on this coming later. This needs some substantial API design work - they may not be declared statically, it's possible that
components
can internally create component tuples under the hood without requiring user input.The text was updated successfully, but these errors were encountered: