Skip to content

Conversation

@RaphaelIT7
Copy link
Contributor

@RaphaelIT7 RaphaelIT7 commented Nov 17, 2025

Still needs testing.
Moved the scratch buffer to be inside SendSnapshot as it greatly reduces the size of the class and saves memory.
This is because it's only used to send snapshots - for that we can just allocate it once per thread and reuse it instead of having one per client.
It's more likely to have way more clients than threads so it'll save memory.

@RaphaelIT7 RaphaelIT7 marked this pull request as ready for review November 17, 2025 19:40
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