Skip to main content

classify_move

Function classify_move 

Source
pub fn classify_move(load: RangeLoad, policy: &SplitPolicy) -> MoveKind
Expand description

Decide whether a range moves whole or is split first, from its live load and the SplitPolicy. A range over the byte ceiling or at/over the hot traffic threshold is split; otherwise it moves whole.