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

Optimise CatchupChunk and related uses #77

Merged
merged 2 commits into from
Aug 15, 2023

Conversation

Protonull
Copy link
Contributor

There's no need to have each chunk contain a copy of the world string when it can be stored once on the packet itself.

Also updated the CatchupRequestPacket so that there's no array expansion happening.

There's no need to have each chunk contain a copy of the world string when it can be stored once on the packet itself.

Also updated the CatchupRequestPacket so that there's no array expansion happening.
@Huskydog9988
Copy link
Contributor

Is this done? Presumably there needs to be client changes to handle the new packet format yes?

@Protonull
Copy link
Contributor Author

Nothing has changed about the serialised-packet's structure

@Huskydog9988 Huskydog9988 merged commit ddeb6ee into CivPlatform:stable Aug 15, 2023
2 checks passed
@Protonull Protonull deleted the optimise-catchupchunk branch August 15, 2023 02:03
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