logoalt Hacker News

77pt7706/16/20252 repliesview on HN

BTW, something similar can be done with zlib/gzip.


Replies

rwmj06/16/2025

It's true, using some rather non-obvious trickery: https://github.com/madler/zlib/blob/develop/examples/zran.c

I also wrote a tool to make a randomly modifiable gzipped disk image: https://rwmj.wordpress.com/2022/12/01/creating-a-modifiable-...

dafelst06/16/2025

Sure, but zstd soundly beats gzip on every single metric except ubiquity, it is just straight up a better compression/decompression strategy.

show 1 reply