3 ms·
LZ4 makes sense when you need fast (i.e. runtime) compression; for anything compressed ahead of time and distributed to be decompressed, Zstd is probably better
by unsigner 6y ago
LZ4 makes sense when you need fast (i.e. runtime) compression; for anything compressed ahead of time and distributed to be decompressed, Zstd is probably better.
- aidenn0 6y agoYou have that backwards. LZ4 is completely about decompression speed, while zstd balances compression and decompression speed. For data that will be decompressed many times, and which decompression speed is most important, LZ4. Most other cases zstd wins