remove zlib dependency
zlib is slow, old, unmaintained.
In general, usage is of zlib
itself is not recommended, because the codebase is ancient and the library miss all assembly optimization. See the issues: https://github.com/madler/zlib/issues
Currently is mostly used only in legacy code.
- https://github.com/zlib-ng/zlib-ng/ (most easiest drop-in solution is to use, thou not reaching libdeflate performance)
- https://github.com/ebiggers/libdeflate (while keeping the zlib compression)
- or just replace crc32 rutine and drop zlib at all
Even drop in replacement for a zlib-ng would drastically improve performance.
Edited by David Heidelberg