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

Implement incremental tuples #7

Open
AmaranthineCodices opened this issue Mar 22, 2019 · 0 comments
Open

Implement incremental tuples #7

AmaranthineCodices opened this issue Mar 22, 2019 · 0 comments
Assignees
Labels
area-perf Performance of RECS area-systems System-related APIs enhancement New feature or request

Comments

@AmaranthineCodices
Copy link
Collaborator

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.

@AmaranthineCodices AmaranthineCodices added the enhancement New feature or request label Mar 22, 2019
@AmaranthineCodices AmaranthineCodices self-assigned this Mar 22, 2019
@AmaranthineCodices AmaranthineCodices added area-perf Performance of RECS area-systems System-related APIs labels Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-perf Performance of RECS area-systems System-related APIs enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant