3 ms·
The first faster refers to total time spent decompressing being lower. The second time speed is mentioned he's saying the rate is the same. With constant rate,
by arjie 11y ago
The first faster refers to total time spent decompressing being lower. The second time speed is mentioned he's saying the rate is the same.
With constant rate, smaller loads are completed faster. And the rate is constant but the load is smaller.
- millstone 11y agoDecompression speed is normally measured in bytes per second of output, not input. Since the output is the same, two algorithms that decompress at the same rate take the same time, regardless of compression ratio. Googling finds a benchmark [1] which shows Zopfli decompression rate as intermediate between deflate 1 and deflate 9. On two our of three tests, Zopfli produces smaller files but is slower to decompress than deflate 9. So "the smaller the file, the faster the decompression" isn't correct. [1] PDF: https://cran.r-project.org/web/packages/brotli/vignettes/brotli-2015-09-22.pdf https://cran.r-project.org/web/packages/brotli/vignettes/bro...