aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2021-12-16 11:37:40 -0800
committerYann Collet <cyan@fb.com>2021-12-16 11:37:40 -0800
commitf829c322584f2985c6af594afb421d0e4f61a511 (patch)
treef0b8e29844d9f9e65054f15eac3d5140e51a852a
parentdb1b408a2f1681dc86d95be652a765f9fc624c0e (diff)
downloadzstd-f829c322584f2985c6af594afb421d0e4f61a511.tar.gz
forgot the chainlog is effectively a "fake" value with rowHash
the only value which makes sense is `hashlog-1` as it mimics the real memory usage.
-rw-r--r--lib/compress/clevels.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compress/clevels.h b/lib/compress/clevels.h
index d509d07a..c2ceb638 100644
--- a/lib/compress/clevels.h
+++ b/lib/compress/clevels.h
@@ -32,10 +32,10 @@ static const ZSTD_compressionParameters ZSTD_defaultCParameters[4][ZSTD_MAX_CLEV
{ 21, 16, 17, 1, 5, 0, ZSTD_dfast }, /* level 3 */
{ 21, 18, 18, 1, 5, 0, ZSTD_dfast }, /* level 4 */
{ 21, 18, 19, 3, 5, 2, ZSTD_greedy }, /* level 5 */
- { 21, 19, 19, 3, 5, 4, ZSTD_lazy }, /* level 6 */
+ { 21, 18, 19, 3, 5, 4, ZSTD_lazy }, /* level 6 */
{ 21, 19, 20, 4, 5, 8, ZSTD_lazy }, /* level 7 */
- { 21, 20, 20, 4, 5, 16, ZSTD_lazy2 }, /* level 8 */
- { 22, 21, 21, 4, 5, 16, ZSTD_lazy2 }, /* level 9 */
+ { 21, 19, 20, 4, 5, 16, ZSTD_lazy2 }, /* level 8 */
+ { 22, 20, 21, 4, 5, 16, ZSTD_lazy2 }, /* level 9 */
{ 22, 21, 22, 5, 5, 16, ZSTD_lazy2 }, /* level 10 */
{ 22, 21, 22, 6, 5, 16, ZSTD_lazy2 }, /* level 11 */
{ 22, 22, 23, 6, 5, 32, ZSTD_lazy2 }, /* level 12 */