mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-06 05:27:05 +00:00
Unnecessary allocation in ZipWriter? #132
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @UnknownShadow200 on GitHub (Sep 30, 2016).
Noticed this line in ZipWriter.cs
ends up calling Allocator.Start() which allocates a 16 megabyte byte array.
I assume this field is only meant to be assigned when PPMd compression type?
@adamhathcock commented on GitHub (Sep 30, 2016):
Yeah, looks bad. I'll look into fixing that shortly
@adamhathcock commented on GitHub (Oct 3, 2016):
https://www.nuget.org/packages/sharpcompress/0.13.1