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

Trim the slice returned by the brotli encoder #23

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

CAFxX
Copy link
Contributor

@CAFxX CAFxX commented Aug 14, 2024

bytes.Buffer can over-allocate; clone the slice so that it uses its minimum possible memory footprint

bytes.Buffer can over-allocate; clone the slice so that it uses its minimum possible memory footprint
@CAFxX CAFxX marked this pull request as ready for review August 14, 2024 05:04
@vearutop vearutop merged commit 7f6b9cf into vearutop:master Aug 14, 2024
7 checks passed
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