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

Reduce raw block allocs #258

Merged
merged 2 commits into from
May 21, 2020
Merged

Reduce raw block allocs #258

merged 2 commits into from
May 21, 2020

Conversation

klauspost
Copy link
Owner

@klauspost klauspost commented May 21, 2020

Raw blocks don't need a destination since it is always forwarded directly.

The panic should be unreachable. Adding it for sanity check since it is harmless.

klauspost added 2 commits May 21, 2020 10:34
When decoding raw blocks they are passed straight through anyway, so there is no need for a destination buffer.
@klauspost klauspost merged commit ece7104 into master May 21, 2020
@klauspost klauspost deleted the reduce-raw-block-allocs branch May 21, 2020 10:11
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.

1 participant