Potential workaround for poor zstd performance

Performance is still not great, but better
This commit is contained in:
Caleb Gardner
2022-06-21 01:09:33 -05:00
parent 1b934de04d
commit 83dfa77b7d
12 changed files with 110 additions and 30 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ func NewReader(r io.ReaderAt) (*Reader, error) {
case LZ4Compression:
squash.d = decompress.Lz4{}
case ZSTDCompression:
squash.d = decompress.Zstd{}
squash.d = &decompress.Zstd{}
default:
return nil, errors.New("uh, I need to do this, OR something if very wrong")
}