4 ms·
> - ZSTD has a very high compression ratio (although not the highest), and is almost as fast as GZIP at decompression time. If you're using zstd and its decomp
by theandrewbailey 2y ago
> - ZSTD has a very high compression ratio (although not the highest), and is almost as fast as GZIP at decompression time.
If you're using zstd and its decompression speed isn't at least twice as fast as gzip's, you're using it wrong.
- consp 2y agoYes, everyone tunes their compression settings. /s It's a generalized statement of 'good enough'.
- orf 2y agoEven untuned, for every single workload I’ve tried I see more than 2x improvement in speed. Usually 5x to 10x
- mananaysiempre 2y agoNot actually true if gzip refers to libdeflate[1] or isa-l[2] instead of zlib. Does seem sus here, though,—I couldn’t quickly find which decompression code is used in zboot, but I’d expect it to be closer to zlib. Perhaps their implementation of Zstandard is simpler than the reference one? [1] https://github.com/ebiggers/libdeflate https://github.com/ebiggers/libdeflate [2] https://github.com/intel/isa-l https://github.com/intel/isa-l