-
Notifications
You must be signed in to change notification settings - Fork 978
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make InflaterPool size configurable via SharpZipLibOptions.InflaterPoolSize
- Loading branch information
Showing
3 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using ICSharpCode.SharpZipLib.Zip.Compression; | ||
|
||
namespace ICSharpCode.SharpZipLib | ||
{ | ||
/// <summary> | ||
/// Global options to alter behavior. | ||
/// </summary> | ||
public static class SharpZipLibOptions | ||
{ | ||
/// <summary> | ||
/// The max pool size allowed for reusing <see cref="Inflater"/> instances, defaults to 0 (disabled). | ||
/// </summary> | ||
public static int InflaterPoolSize { get; set; } = 0; | ||
} | ||
} |