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

more efficient append bytes #399

Merged
merged 1 commit into from
Apr 16, 2020
Merged

Conversation

Himer
Copy link
Contributor

@Himer Himer commented Apr 16, 2020

io.Copy(s.contents, bytes.NewReader(p)) , why use this way?

@hashicorp-cla
Copy link

hashicorp-cla commented Apr 16, 2020

CLA assistant check
All committers have signed the CLA.

@schristoff schristoff merged commit d31be9a into hashicorp:master Apr 16, 2020
@schristoff
Copy link
Contributor

Thank you for this!

Kvicii pushed a commit to Kvicii/raft that referenced this pull request Apr 19, 2020
* 'master' of github.com:hashicorp/raft:
  more efficient append bytes (hashicorp#399)
  Ignore non-voters in leadership transfer (hashicorp#398)
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.

3 participants