Skip to main content

set_compaction_threshold

Function set_compaction_threshold 

Source
pub fn set_compaction_threshold(threshold: usize)
Expand description

Set the compaction fragmentation threshold (percentage, 0-100).

Lower values make compaction more aggressive; higher values make it more conservative. The default is 35.