mirror of
https://github.com/facebook/zstd.git
synced 2025-11-30 11:21:33 +03:00
[libzstd] Add ZSTD_c_literalCompressionMode flag
It controls the literals compression. It is either `auto`, `huffman`, or `uncompressed`. It defaults to `auto`, which is the current behavior.
This commit is contained in:
@@ -188,6 +188,7 @@ struct ZSTD_CCtx_params_s {
|
||||
* 1<<wLog, even for dictionary */
|
||||
|
||||
ZSTD_dictAttachPref_e attachDictPref;
|
||||
ZSTD_literalCompressionMode_e literalCompressionMode;
|
||||
|
||||
/* Multithreading: used to pass parameters to mtctx */
|
||||
int nbWorkers;
|
||||
|
||||
Reference in New Issue
Block a user