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

Direct component access when iterating, benchmarks #93

Merged
merged 20 commits into from
Sep 17, 2023

Conversation

0ffz
Copy link
Member

@0ffz 0ffz commented Sep 13, 2023

  • Changes many areas to read component data directly from memory instead of repacking into an array. This greatly increases performance and chances of getting cache hits.
  • Simplify listener handler definition
  • Other optimizations like using fastutil on jvm, reducing contains checks in archetypes

@0ffz 0ffz merged commit f2e9ea8 into develop Sep 17, 2023
1 check passed
@0ffz 0ffz deleted the direct-component-access branch September 17, 2023 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant