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
Expose or document a constant that describes a best-case minimal compression length #1166
Comments
The question is not clear, or could be interpreted in multiple ways. |
In our storage engine, we provide the capability of compressing values. Essentially we have some logic that looks like this:
My question is given a value of some best-case scenario for lz4, like a run of But if there is no good answer to this question, that I can remove that |
I realize that I may have been naive initially because the overhead of lz4 is probably pretty dependent on the length of the original value to compress. |
The LZ4 Block format specifies that, to be compressible, an (independent) input must have a length >= 13. |
Is your feature request related to a problem? Please describe.
In our storage engine work, we have to determine whether compression will save any space on-media.
Describe the solution you'd like
A constant or documentation that describes a best-case minimal compression length which actually reduces the length of the given data.
The text was updated successfully, but these errors were encountered: