ParallelDeflateOutputStream for zip file

Oct 12, 2010 at 4:33 AM

I would like to know if is possible to use ParallelDeflateOutputStream to create zip file

Thanks

Coordinator
Oct 14, 2010 at 9:37 PM
Edited Oct 14, 2010 at 9:38 PM

Yes, it is possible.

The PDOS was included into the DotNetZip library for v1.9, specifically to enable creation of zip files using parallel execution of multiple threads. It is not part of the external, documented interface of DotNetZip.  The PDOS is used internally, when appropriate.

It should work automatically for you, if you use the ZipOutputStream or ZipFile classes to create a zip.  The number of parallel threads DotNetZip uses, varies according to the number of cores (cpus) in your machine.