From aad436da37168bfa4860db92c2669905426cefc3 Mon Sep 17 00:00:00 2001 From: senhuang42 Date: Mon, 19 Oct 2020 11:02:29 -0400 Subject: [PATCH] Document ldm enabled by default in zstd.h --- lib/zstd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/zstd.h b/lib/zstd.h index 75d5bb237..733595d9c 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -339,7 +339,9 @@ typedef enum { * for large inputs, by finding large matches at long distance. * It increases memory usage and window size. * Note: enabling this parameter increases default ZSTD_c_windowLog to 128 MB - * except when expressly set to a different value. */ + * except when expressly set to a different value. + * Note: will be enabled by default if ZSTD_c_windowLog >= 128 MB and + * compression strategy >= ZSTD_btopt (== compression level 16+) */ ZSTD_c_ldmHashLog=161, /* Size of the table for long distance matching, as a power of 2. * Larger values increase memory usage and compression ratio, * but decrease compression speed.