2 ms·
> I'm pretty skeptical of using bzip2 as the entropy coder compared to DEFLATE as used in PNG. Or compared to xz. bzip2 seems completely obsolete: gzip provid
by JoshTriplett 11y ago
> I'm pretty skeptical of using bzip2 as the entropy coder compared to DEFLATE as used in PNG.
Or compared to xz. bzip2 seems completely obsolete: gzip provides much faster compression and decompression, and xz provides better compression ratios with faster decompression. Not to mention new algorithms like brotli.
- jacobolus 11y agoBrotli is a text/markup compression codec with a big dictionary of English words and chunks of html. Why would you use it for binary data?
- legulere 11y agoEven though it's optimized for text, doesn't mean it's not also better for binary. For instance it's also used for binary font files in WOFF2 and seems to perform very well.