Hacker News new | past | comments | ask | show | jobs | submit login

looks interesting, but given the stats below from the official site, what would be the motivation to use zstd rather than lz4?

zstd 1.4.5 --fast=5 2.178 700 MB/s 2420 MB/s

lz4 1.9.2 2.101 740 MB/s 4530 MB/s




Zstd achieves considerably higher compression on some kinds of data with little to no preprocessing. LZ4 hits a compression ratio ceiling at some point - algorithmically, it's "half of Zstd" (only LZ match/literal encoding, no entropy encoding at all).

Read the LZ4 format, it's very simple and educational, I'd say beautiful. It fits in half a screen of text.


Probably for the settings that give higher compression than LZ4




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: