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

Go reader API improvements and optimization #81

Merged
merged 5 commits into from
Oct 30, 2012

Conversation

mreiferson
Copy link
Member

add read/write buffering for the Go reader and also tweak style to be a bit more idiomatic Go cc @jehiah

@jehiah
Copy link
Member

jehiah commented Oct 30, 2012

these changes look good. performance_improvements++

* buffer input and output in Go reader
* deprecate SendCommand in favor of an instance method Write()
  on the Command type (like Message).  also refactor implementation
  to avoid intermediate creation of slices.
* DRY up code that sends RDY updates
jehiah added a commit that referenced this pull request Oct 30, 2012
Go reader API improvements and optimization
@jehiah jehiah merged commit 2ea6c88 into nsqio:master Oct 30, 2012
arussellsaw pushed a commit to arussellsaw/nsq that referenced this pull request Mar 5, 2018
auto enable TLS negotation when setting other TLS options
absolute8511 added a commit to absolute8511/nsq that referenced this pull request Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants