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

lib/game: remove heap allocation on each time the neighbors are sent message #25

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

deadprogram
Copy link
Collaborator

This PR modifies lib/game to remove extra heap allocations. Instead of ParallelUniverse creating a buffer on each time the neighbors are sent message, instead only allocates the send buffer when the universe is first created.

@acifani acifani merged commit b0142db into main Feb 2, 2024
1 check passed
@acifani acifani deleted the remove-heap-allocs branch February 2, 2024 17:09
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.

2 participants