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

Extend the Archetype definition to give more possibilities in SIMD usage. #110

Open
Dandielo opened this issue Jan 21, 2022 · 0 comments
Open
Labels
enhancement Improvements or additions to code

Comments

@Dandielo
Copy link
Member

The idea is to add a 'width' information for each component type in an archetype. This width would define how many entities a single component is capable to contain.

Things that might need additional attention:

  • Internal copy / move of component data when patching empty slots.
  • Accessing sub-data from these components.

Quick prototype idea:
https://gist.github.com/Dandielo/ba8d9b020bbf40b8afef73ec63af8476

@Dandielo Dandielo added the enhancement Improvements or additions to code label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements or additions to code
Projects
Status: Backlog
Development

No branches or pull requests

1 participant