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

perf: Avoid Record memory allocs, BucketULongArray to avoid array.copyOf #102

Merged
merged 5 commits into from
Mar 21, 2024

Conversation

0ffz
Copy link
Member

@0ffz 0ffz commented Mar 21, 2024

No description provided.

@0ffz 0ffz merged commit 76c156b into develop Mar 21, 2024
1 check passed
@0ffz 0ffz deleted the perf-record-memory-alloc branch March 21, 2024 02:39
0ffz added a commit that referenced this pull request May 31, 2024
…yOf (#102)

perf: Use array implementation of CompId2ArchetypeMap, avoid null boxing using getOrElse
perf: Fully remove Record references (unnecessary memory allocs)
perf: Use BucketedULongArray to avoid array.copyOf when in ArrayTypeMap, useful when creating many entities at once
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