Add long distance matching as a CCtxParam

This commit is contained in:
Stella Lau
2017-09-01 09:18:58 -07:00
parent 6a546efb8c
commit 8081becadc
8 changed files with 64 additions and 42 deletions
+5 -3
View File
@@ -978,9 +978,11 @@ typedef enum {
/* advanced parameters - may not remain available after API update */
ZSTD_p_forceMaxWindow=1100, /* Force back-reference distances to remain < windowSize,
* even when referencing into Dictionary content (default:0) */
ZSTD_p_longDistanceMatching, /* Enable long distance matching.
* This increases the memory usage as well as the
* window size. */
ZSTD_p_longDistanceMatching, /* Enable long distance matching. This
* increases the memory usage as well as the
* window size. Note: this should be set after
* ZSTD_p_compressionLevel and before
* ZSTD_p_windowLog. */
} ZSTD_cParameter;