-
Notifications
You must be signed in to change notification settings - Fork 319
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 compresses the same content over and over again, why doesn't it get compressed to a particularly small size? #911
Comments
I've observed in Chrome, when sending the same content over and over again, the message is compressed to a very small size. |
klauspost
added a commit
that referenced
this issue
Jan 19, 2024
Dictionary was being ignored when compressing with a custom window size. Fixes #911
Confirmed. Fix in #912 |
cool |
klauspost
added a commit
that referenced
this issue
Jan 19, 2024
Dictionary was being ignored when compressing with a custom window size. Fixes #911
By the way, can't both custom window and compression level exist? |
@lxzan It is a specialized compressor: https://github.com/klauspost/compress/blob/master/flate/level5.go#L312 So it offers "middle of the road". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for your work.
I'm implementing WebSocket RFC 7692, and I'm confused about it.
github.com/klauspost/compress v1.17.4
The text was updated successfully, but these errors were encountered: