Skip to main content

ZSTD_LEVEL

Constant ZSTD_LEVEL 

Source
pub const ZSTD_LEVEL: i32 = 3;
Expand description

Default zstd level. Level 3 is zstd’s documented “fast” sweet spot — roughly gzip-6 ratio at ~5x the encode speed; higher levels save a few percent at significant CPU cost. Default zstd level for the packed format — see the constant doc above. compress_zstd_with_dict and the writers use this unless an explicit level is threaded through (e.g. stt-build --zstd-level).