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

make ByteSlicePool a *Pool, not a Pool. #4

Merged
merged 1 commit into from
Nov 21, 2017
Merged

make ByteSlicePool a *Pool, not a Pool. #4

merged 1 commit into from
Nov 21, 2017

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Nov 21, 2017

This way, copying it won't copy the underlying pool.

Also, initialize it immediately instead of in an init function to ensure that it's fully initialized immediately.

This way, copying it won't copy the underlying pool.

Also, initialize it immediately instead of in an `init` function to ensure that
it's fully initialized immediately.
@Kubuxu Kubuxu merged commit e1d4bc0 into master Nov 21, 2017
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