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

Fix a performance issue when the server sends many messages #616

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

lmoureaux
Copy link
Contributor

This is for instance the case at the beginning of a turn. The code was resizing
every row for each recieved message, resulting in O(N^2) complexity. Change it
to resize only the new row for O(N) complexity.

Closes #615.

This is for instance the case at the beginning of a turn. The code was resizing
every row for each recieved message, resulting in O(N^2) complexity. Change it
to resize only the new row for O(N) complexity.

Closes longturn#615.
@lmoureaux lmoureaux merged commit 185b0ed into longturn:master Sep 2, 2021
@lmoureaux lmoureaux deleted the bugfix/message-performance branch September 2, 2021 23:00
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.

Connecting to LTEx64 is slow
1 participant