Skip to main content

HISTORY_DEPTH

Constant HISTORY_DEPTH 

Source
pub const HISTORY_DEPTH: usize = 6;
Expand description

Number of recent patch hashes retained per surface. Tuned for the v1 loop where strategies converge in 1-2 rounds; oscillation signals are typically last == current, so a small window is plenty. Bumping this hurts cache locality without paying for itself until patch graphs get wider.