ZSTD_c_compressionLevel constant

int const ZSTD_c_compressionLevel

Set compression parameters according to pre-defined cLevel table. Note that exact compression parameters are dynamically determined, depending on both compression level and srcSize (when known). Default level is ZSTD_CLEVEL_DEFAULT==3. Special: value 0 means default, which is controlled by ZSTD_CLEVEL_DEFAULT. Note 1 : it's possible to pass a negative compression level. Note 2 : setting a level does not automatically set all other compression parameters to default. Setting this will however eventually dynamically impact the compression parameters which have not been manually set. The manually set ones will 'stick'.

Implementation

static const int ZSTD_c_compressionLevel = 100;