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

chore(server): Improve the implementation of SendStringArr. #178

Merged
merged 1 commit into from
Jun 26, 2022
Merged

Conversation

romange
Copy link
Collaborator

@romange romange commented Jun 25, 2022

  1. Make it use vectorized send instead of concatenating everything into a single string.
  2. vectorized SendStringArr could fail sending large arrays for lengths higher than 512 (returned EMSGSIZE).
    We improved the implementation so it would send those arrays in chunks of 256 items.

Signed-off-by: Roman Gershman [email protected]

1. Make it use vectorized send instead of concatenating everything into a single string.
2. vectorized SendStringArr could fail sending large arrays for lengths higher than 512 (returned EMSGSIZE).
   We improved the implementation so it would send those arrays in chunks of 256 items.

Signed-off-by: Roman Gershman <[email protected]>
@romange romange merged commit 605b1fd into main Jun 26, 2022
@romange romange deleted the Pr1 branch June 26, 2022 03:12
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