Skip to content

random strings are not compressed #827

Answered by klauspost
lxzan asked this question in Q&A
Discussion options

You must be logged in to vote

There is no point in compressing them, if they cannot be compressed.

It will just create (potentially) longer output and be much slower to decompress.

The compressor will estimate if there are gains to compressing. If there is no or only a very small gain it will be stored uncompressed.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@lxzan
Comment options

@klauspost
Comment options

Answer selected by lxzan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #826 on June 13, 2023 11:40.