Suggestion: Explore Using libdeflate for ZIP compression

The libdeflate library may be worth investigating, as a complement/alternative/option to the regular zlib.

It is much faster than the regular deflate, and easy to work with.
The only caveat is that it works only on memory buffers.
So the regular stream-oriented zlib is needed for huge .zip but most of the .zip which can stay in memory could benefit from using libdeflate.

1 Like

I'm bumping this as I am very interested in this.

Directory Opus's "Normal compression" zips end up larger than using 7-zip with DEFLATE. I highly recommend this be looked into. It can compress better than zlib and it's also faster at doing so.

Thank you.