pub fn set_compaction_threshold(threshold: usize)
Set the compaction fragmentation threshold (percentage, 0-100).
Lower values make compaction more aggressive; higher values make it more conservative. The default is 35.