Increase buffer size for decompressTo

This commit is contained in:
Caleb Gardner
2025-05-28 02:49:53 -05:00
parent f122d1b4be
commit 5be59be220
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ pub const DecompressType = enum(u16) {
}
pub fn decompressTo(self: DecompressType, alloc: std.mem.Allocator, rdr: io.AnyReader, writer: io.AnyWriter) anyerror!void {
const buf_size: usize = 1024;
const buf_size: usize = 8192;
switch (self) {
.zlib => try compress.zlib.decompress(rdr, writer),
.lzma => {