Skip to content

Conversation

@klauspost
Copy link
Owner

Only EncodeAll uses the channel of encoders, so only allocate it when needed there.

Fixes #235

Reported by @jpchen-lightstep

Only EncodeAll uses the channel of encoders, so only allocate it when needed there.

Fixes #235

Reported by @jpchen-lightstep
@klauspost klauspost merged commit 022415c into master Feb 28, 2020
@klauspost klauspost deleted the skip-encoder-init branch February 28, 2020 14:02
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.

zstd: Extra encoders and decoders allocated when working with stream APIs

2 participants