Skip to main content

set_sink_compress_min_depth

Function set_sink_compress_min_depth 

Source
pub fn set_sink_compress_min_depth(depth: u8)
Expand description

Set the youngest generational depth whose bodies spilled through try_spill_ref are compressed. Those bodies take this floor in place of set_compress_min_depth’s, with the same meaning.

Applies to bodies spilled after the change. A body already spilled keeps its codec: the consumer owns its chunks, so no survival re-spills it.