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.