[
  {
    "Id": "1350469",
    "ThreadId": "579864",
    "Html": "I want to increase the number of attempts to open ZIP file and my biggest delay is in IO. I thought to use MemoryMappedFile and I was able to improve performance by 20% only.\r<br />\n<br />\nMy CPU usage is only 20% because I got stuck in the IO.\r<br />\n<br />\nThe first time I used dotnetzip i used it like that<br />\n<pre><code>zip1 = ZipFile.Read(filename);</code></pre>\n\nAfter that I decided to use MemoryMappedFile and i use it like that<br />\n<pre><code>using (MemoryMappedFile memoryMapped = MemoryMappedFile.CreateFromFile(filename, FileMode.Open))\n{\n    var viewStream = memoryMapped.CreateViewStream();\n    zip1 = ZipFile.Read(viewStream);\n}</code></pre>\n\nI improved it by 20% but I think it should be much much more. Does anyone have an idea? I use it on no more than 10MB zip file size.<br />\n",
    "PostedDate": "2015-02-09T22:13:04.367-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]