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

flate: Use predefined compressed block for EOS #233

Closed
klauspost opened this issue Feb 19, 2020 · 1 comment
Closed

flate: Use predefined compressed block for EOS #233

klauspost opened this issue Feb 19, 2020 · 1 comment

Comments

@klauspost
Copy link
Owner

When closing a stream an EOS is written as an uncompressed block with length 0. This takes 5 bytes. Using a compressed block with predefined table this can be reduced to 10 bits.

@klauspost
Copy link
Owner Author

Fixed by #232

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

No branches or pull requests

1 participant