3 ms·
I think the main TLDR here [1]: > For example, I tried recompressing the latest version of the typescript package. GNU tar was able to completely compress the
by bangaladore 2y ago
I think the main TLDR here [1]:
> For example, I tried recompressing the latest version of the typescript package. GNU tar was able to completely compress the archive in about 1.2 seconds on my machine. Zopfli, with just 1 iteration, took 2.5 minutes.
[1] https://github.com/npm/rfcs/pull/595#issuecomment-1200480148 https://github.com/npm/rfcs/pull/595#issuecomment-1200480148
My question of course would be, what about LZ4, or Zstd or Brotli? Or is backwards compatibility strictly necessary? I understand that GZIP is still a good compressor, so those others may not produce meaningful gains. But, as the author suggests, even small gains can produce huge results in bandwidth reduction.