do minimal compression

This commit is contained in:
Zack Scholl 2018-09-24 12:41:35 -07:00
parent 2f47dd3178
commit 8bfbe36dd9

View File

@ -9,7 +9,7 @@ import (
// Compress returns a compressed byte slice.
func Compress(src []byte) []byte {
compressedData := new(bytes.Buffer)
compress(src, compressedData, 9)
compress(src, compressedData, 1)
return compressedData.Bytes()
}