madler / zlib

A massively spiffy yet delicately unobtrusive compression library.
http://zlib.net/
Other
5.64k stars 2.44k forks source link

Multi-threading support #1013

Closed hjarnek closed 3 hours ago

hjarnek commented 3 hours ago

Hi,

Any plans to add support for multi-threaded compression in zlib, similar to pigz? That speed improvement would be very welcome when implementing gzipped file handling in your own programs.

madler commented 3 hours ago

Yes, I plan to. Though it may be a separate package in C++ that uses zlib, since threads are more portable and better supported in C++.

hjarnek commented 3 hours ago

Alright, nice to hear! Thanks for the super-quick response. Looking forward to multi-threaded support.