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

zmtp: improve perfs of Connection.read{,Multipart} #71

Merged
merged 5 commits into from
Apr 19, 2018

Conversation

sbinet
Copy link
Contributor

@sbinet sbinet commented Apr 12, 2018

This CL uses io.ReadFull to make sure all requested bytes are read from
an io.Reader.
It's also using binary.ByteOrder.Uint64 directly instead of going the
round about way through (slow) reflection.

Fixes #67.
Fixes #61.

This CL uses io.ReadFull to make sure all requested bytes are read from
an io.Reader.
It's also using binary.ByteOrder.Uint64 and binary.ByteOrder.PutUint64
directly instead of going the round about way through (slow) reflection.

Fixes zeromq#67.
Fixes zeromq#61.
@sbinet
Copy link
Contributor Author

sbinet commented Apr 18, 2018

ping?

@luna-duclos luna-duclos merged commit 706c95d into zeromq:master Apr 19, 2018
@sbinet sbinet deleted the opt-zmtp-read-conn branch April 19, 2018 12:31
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