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

Command buffer should batch archetype moves #94

Open
memorycode opened this issue Jul 27, 2024 · 0 comments
Open

Command buffer should batch archetype moves #94

memorycode opened this issue Jul 27, 2024 · 0 comments
Labels
improvement An imperfection we can make better

Comments

@memorycode
Copy link
Contributor

Current behavior

The current implementation of the command buffer in #88 loops through each command one-by-one and transitions archetypes after each command.

Proposed improvement

We should not transition the archetype for an entity until we are sure there are no more commands that would impact its archetype because it's unnecessary work.

@memorycode memorycode added the improvement An imperfection we can make better label Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An imperfection we can make better
Projects
None yet
Development

No branches or pull requests

1 participant