2 ms·
Did someone say compression wrapper? https://github.com/hyc/polyZ https://github.com/hyc/polyZ Did that 4 years ago. > The snappy wrapper can serve as a fron
by hyc_symas 8y ago
Did someone say compression wrapper?
https://github.com/hyc/polyZ https://github.com/hyc/polyZ
Did that 4 years ago.
> The snappy wrapper can serve as a frontend for bzip2, lz4, lz4hc,
lzma, lzo, and zlib.
> The zlib wrapper can serve as a frontend for bzip2, lz4, lz4hc,
lzma, lzo, and snappy.
Very handy for quickly benchmarking multiple compressors without having to write multiple implementations of the same test code. As illustrated here http://www.lmdb.tech/bench/inmem/compress/ http://www.lmdb.tech/bench/inmem/compress/
Feel free to PR support for brotli or zstd or anything else that comes along.