Item 2 of 5 Previous | Next

1

Fixed

7-zip decompression failure

description

Hello,

I tried to use the library for streaming 7zip files decompression.
Unfortunately, it fails to decompress some files.
I have attached an example.
It also fails with simple code such as:

using (var archive = ArchiveFactory.Open(stream))
{
foreach (var entry in archive.Entries)
{
entry.WriteToDirectory(".");
}
}

comments

igvk wrote Feb 16 at 6:00 AM

Yes, now it works correctly.
As for 7zip PPMd decompression performance, it is very poor, even when extracting from non-solid archive.
At least 5 times slower than native 7z.exe in my tests.
Nevertheless, this is great library - the only one that can handle 7zip decompression in managed code, that I know of.

adamhathcock wrote Feb 15 at 7:53 PM

Pavel fixed PPMd again. Let me know if it works out for you. I'm looking into increasing 7Zip performance just because everything is solid packed and gets very slow accessing it.

igvk wrote Feb 12 at 7:16 AM

There is still some problem with 7zip PPMd archives.
Here is a larger example.

adamhathcock wrote Feb 11 at 3:57 PM

Fixed with Pavel's latest change!

adamhathcock wrote Feb 11 at 10:19 AM

Thanks for this. Looking at the compression methods for the 7z file, it looks like the PPMd compression settings are some that haven't been tested. I'm looking into this now.