mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Compression ratio is better after tweaking quality 6 -> 1 for big files #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tesseract2048 on GitHub (Oct 11, 2015).
I have a ~30GB text file filled with ascii numbers.
If I truncate to first 1GB, brotli outperforms gzip in size about ~20%.
However, if I compress the whole file with quality 1, brotli compressed file is only 8% smaller.
More strange, if I compress the whole file with quality 6, brotli compressed file is actually 11% bigger than gzip.
Any theory what is going on? Thanks.
@tesseract2048 commented on GitHub (Oct 11, 2015):
Tested on a 2.79GB file, results are same.
Every line in the file looks like the following one:
@jyrkialakuijala commented on GitHub (Oct 12, 2015):
Are these sorted 64-bit hashes?
@tesseract2048 commented on GitHub (Oct 12, 2015):
Yes, you can say that, @jyrkialakuijala.
It represents sparse feature.
@jyrkialakuijala commented on GitHub (Oct 25, 2015):
I have identified a problem in the hashing that degrades the compression performance after 2 GB for quality >= 5. We will fix this within three days.
@tesseract2048 commented on GitHub (Oct 25, 2015):
Sure, thanks.
I've identified that it worked as expected with quality <= 4.
@jyrkialakuijala commented on GitHub (Oct 28, 2015):
Levels 5-9 should work in the head now. Level 11, the same as 10, is still misbehaving for files longer than 2 GB.
@eustas commented on GitHub (Jun 21, 2016):
As mentioned in previous comment, should be fixed now.
If not, feel free to reopen the issue.