@@ -355,33 +355,34 @@ typedef enum {
355
355
* It's possible to pin down compression parameters to some specific values.
356
356
* In which case, these values are no longer dynamically selected by the compressor */
357
357
ZSTD_c_windowLog =
358
- 101 , /* Maximum allowed back-reference distance, expressed as power of 2.
359
- * This will set a memory budget for streaming decompression,
360
- * with larger values requiring more memory
361
- * and typically compressing more.
362
- * Must be clamped between ZSTD_WINDOWLOG_MIN and ZSTD_WINDOWLOG_MAX.
363
- * Special: value 0 means "use default windowLog".
364
- * Note: Using a windowLog greater than ZSTD_WINDOWLOG_LIMIT_DEFAULT
365
- * requires explicitly allowing such size at streaming decompression stage. */
366
- ZSTD_c_hashLog = 102 , /* Size of the initial probe table, as a power of 2.
367
- * Resulting memory usage is (1 << (hashLog+2)).
368
- * Must be clamped between ZSTD_HASHLOG_MIN and ZSTD_HASHLOG_MAX.
369
- * Larger tables improve compression ratio of strategies <= dFast,
370
- * and improve speed of strategies > dFast.
371
- * Special: value 0 means "use default hashLog". */
372
- ZSTD_c_chainLog = 103 , /* Size of the multi-probe search table, as a power of 2.
373
- * Resulting memory usage is (1 << (chainLog+2)).
374
- * Must be clamped between ZSTD_CHAINLOG_MIN and ZSTD_CHAINLOG_MAX.
375
- * Larger tables result in better and slower compression.
376
- * This parameter is useless for "fast" strategy.
377
- * It's still useful when using "dfast" strategy,
378
- * in which case it defines a secondary probe table.
379
- * Special: value 0 means "use default chainLog". */
380
- ZSTD_c_searchLog = 104 , /* Number of search attempts, as a power of 2.
381
- * More attempts result in better and slower compression.
382
- * This parameter is useless for "fast" and "dFast" strategies.
383
- * Special: value 0 means "use default searchLog". */
384
- ZSTD_c_minMatch = 105 , /* Minimum size of searched matches.
358
+ 101 , /* Maximum allowed back-reference distance, expressed as power of 2.
359
+ * This will set a memory budget for streaming decompression,
360
+ * with larger values requiring more memory
361
+ * and typically compressing more.
362
+ * Must be clamped between ZSTD_WINDOWLOG_MIN and ZSTD_WINDOWLOG_MAX.
363
+ * Special: value 0 means "use default windowLog".
364
+ * Note: Using a windowLog greater than ZSTD_WINDOWLOG_LIMIT_DEFAULT
365
+ * requires explicitly allowing such size at streaming decompression stage. */
366
+ ZSTD_c_hashLog = 102 , /* Size of the initial probe table, as a power of 2.
367
+ * Resulting memory usage is (1 << (hashLog+2)).
368
+ * Must be clamped between ZSTD_HASHLOG_MIN and ZSTD_HASHLOG_MAX.
369
+ * Larger tables improve compression ratio of strategies <= dFast,
370
+ * and improve speed of strategies > dFast.
371
+ * Special: value 0 means "use default hashLog". */
372
+ ZSTD_c_chainLog = 103 , /* Size of the multi-probe search table, as a power of 2.
373
+ * Resulting memory usage is (1 << (chainLog+2)).
374
+ * Must be clamped between ZSTD_CHAINLOG_MIN and ZSTD_CHAINLOG_MAX.
375
+ * Larger tables result in better and slower compression.
376
+ * This parameter is useless for "fast" strategy.
377
+ * It's still useful when using "dfast" strategy,
378
+ * in which case it defines a secondary probe table.
379
+ * Special: value 0 means "use default chainLog". */
380
+ ZSTD_c_searchLog = 104 , /* Number of search attempts, as a power of 2.
381
+ * More attempts result in better and slower compression.
382
+ * This parameter is useless for "fast" and "dFast" strategies.
383
+ * Special: value 0 means "use default searchLog". */
384
+ ZSTD_c_minMatch =
385
+ 105 , /* Minimum size of searched matches.
385
386
* Note that Zstandard can still find matches of smaller size,
386
387
* it just tweaks its search algorithm to look for this size and larger.
387
388
* Larger values increase compression and decompression speed, but
0 commit comments