Use higher zstd compression level
This commit is contained in:
parent
360bb640a8
commit
59fffbc42a
@ -70,7 +70,7 @@ namespace Toolbox.Library
|
|||||||
return decompressor.Unwrap(b, MaxDecompressedSize);
|
return decompressor.Unwrap(b, MaxDecompressedSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static byte[] SCompress(byte[] b, int level = 5)
|
public static byte[] SCompress(byte[] b, int level = 19)
|
||||||
{
|
{
|
||||||
using (var compressor = new ZstdNet.Compressor(new ZstdNet.CompressionOptions(level)))
|
using (var compressor = new ZstdNet.Compressor(new ZstdNet.CompressionOptions(level)))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user