Skip to main content

DEFAULT_LOOKBACK_NUM

Constant DEFAULT_LOOKBACK_NUM 

Source
pub const DEFAULT_LOOKBACK_NUM: u32 = 1;
Expand description

Default lookback fraction numerator. The ring keeps the most recent capacity * LOOKBACK_NUM / LOOKBACK_DEN bytes behind the reader so a short back-seek hits the ring instead of restarting prefetch. The default 1/8 (~12.5 %) matches the historical hardcoded value.