diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-12 18:25:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 18:25:00 +0200 |
commit | 7203e0a76a82e278b6a41e7a5851463a0b2f571e (patch) | |
tree | 04252a3261ecba007ace7055154fc8d2ce8a9aea /vendor/github.com/klauspost/compress/flate/deflate.go | |
parent | 3803a2630f2bc53f18cbf2b7a825ff1b068a0fb7 (diff) | |
parent | 3627c4b691a357fc531c2761f07ccfecf937dd12 (diff) | |
download | podman-7203e0a76a82e278b6a41e7a5851463a0b2f571e.tar.gz podman-7203e0a76a82e278b6a41e7a5851463a0b2f571e.tar.bz2 podman-7203e0a76a82e278b6a41e7a5851463a0b2f571e.zip |
Merge pull request #9994 from containers/dependabot/go_modules/github.com/containers/image/v5-5.11.0
Bump github.com/containers/image/v5 from 5.10.5 to 5.11.0
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 |