Re:Gzip and Brotli Compression Level Estimator
by klauspost on Sunday September 11, 2022 @03:54AM
(#32797666)
> If you see a match that would not be visible from given compression level[...]
Yes, but you'd need to reconstruct the hash table and the link table. For that you'd need to decompress fully. You could compare matches, but you are so far along at this point you might as well just decompress and recompress, comparing the output bit by bit.
Yes, but you'd need to reconstruct the hash table and the link table. For that you'd need to decompress fully. You could compare matches, but you are so far along at this point you might as well just decompress and recompress, comparing the output bit by bit.