diff options
author | Matthew Heon <mheon@redhat.com> | 2021-04-16 11:06:33 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-04-16 11:07:33 -0400 |
commit | 2816c55f3a7138a04837694afa8bf0a515fe00ac (patch) | |
tree | 2211afa8bf7ca66b96626ebb1e5578327d0e3a3d /vendor/github.com/klauspost/compress/flate/deflate.go | |
parent | bd94d84fadda7000da78e36d9865949dc8e7adb4 (diff) | |
download | podman-2816c55f3a7138a04837694afa8bf0a515fe00ac.tar.gz podman-2816c55f3a7138a04837694afa8bf0a515fe00ac.tar.bz2 podman-2816c55f3a7138a04837694afa8bf0a515fe00ac.zip |
Update all containers/ project vendors
Bumps:
- c/storage to v1.29.0
- c/image to v5.11.0
- c/common to v0.36.0
- Buildah to v1.20.1
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'vendor/github.com/klauspost/compress/flate/deflate.go')
-rw-r--r-- | vendor/github.com/klauspost/compress/flate/deflate.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/github.com/klauspost/compress/flate/deflate.go b/vendor/github.com/klauspost/compress/flate/deflate.go index 25dbe3e15..3f428d8b5 100644 --- a/vendor/github.com/klauspost/compress/flate/deflate.go +++ b/vendor/github.com/klauspost/compress/flate/deflate.go @@ -645,15 +645,15 @@ func (d *compressor) init(w io.Writer, level int) (err error) { d.fill = (*compressor).fillBlock d.step = (*compressor).store case level == ConstantCompression: - d.w.logNewTablePenalty = 4 - d.window = make([]byte, maxStoreBlockSize) + d.w.logNewTablePenalty = 8 + d.window = make([]byte, 32<<10) d.fill = (*compressor).fillBlock d.step = (*compressor).storeHuff case level == DefaultCompression: level = 5 fallthrough case level >= 1 && level <= 6: - d.w.logNewTablePenalty = 6 + d.w.logNewTablePenalty = 8 d.fast = newFastEnc(level) d.window = make([]byte, maxStoreBlockSize) d.fill = (*compressor).fillBlock |