Click here to Skip to main content
12,694,842 members (33,171 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# C#4.0
I have been using the DotNetZip Library to unzip the files to a destination folder,but the p[process is too slow, can anyone suggest me any faster way to do so. the code I am using is :
using(var zip = Ionic.Zip.ZipFile.Read(Filename)) 

This takes a hell of a lot of time, as I am unzipping around 2200 files Can anyone suggest a faster way to do so. So I tried using Memory mapped files in order to make the process faster so that I can extract the files on the virtual memory, but this didn't work as
requires a destination path and I cant get one for the memory mapped files.

My Question is : Is there any way I can reduce the amount of time taken to extract the files on my hard disk or is there any way I dont have to extract and get all the information?Please let me know if someone knows the answer.

Please note my application is windows based.

Posted 22-Sep-12 13:13pm
Updated 22-Sep-12 13:43pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hmm. I don't think there is a much more efficient way. Think of the time it takes to unzip a file in Windows Explorer, and that was created with speed in mind, by Microsoft. There may be a batch online unzipping service that you can upload your files to. They may be able to do it faster, depending on their hardware.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 22 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100