Hacker News new | ask | show | jobs
by woobilicious 1488 days ago
I have this pathological example, I have a 30GB journal dump from bcachefs, and compressed it down with lz4 and zstd to a sata SSD, the compression ratios are 6.8% and 3% respectively (and this with default level 3!), it takes 14s to ripgrep through the lz4 version, and 11s with the zstd version. So even at 500MB/s zstd is faster for decompression.
1 comments

LZ4 requires about 2gb/s to be competitive on any relatively recent desktop/laptop cpu