Skip to main content

DEFAULT_COMPRESSION_LEVEL

Constant DEFAULT_COMPRESSION_LEVEL 

Source
pub const DEFAULT_COMPRESSION_LEVEL: i32 = 3;
Expand description

Default zstd compression level.

Level 3 is zstd’s own default and sits at the knee of the curve: most of the ratio, a small fraction of the time of the high levels. A pack is dominated by already-compressed git objects, so spending longer buys little.