Skip to main content

DEFAULT_BUDGET

Constant DEFAULT_BUDGET 

Source
pub const DEFAULT_BUDGET: usize = _; // 65_536usize
Expand description

Default byte budget for probe — comfortably above the worst case (a 208-byte-stride TS lattice needing 8 confirmations plus a full phase search). Design §Performance.

Public because a caller draining an Probe::Insufficient loop needs it: probe never examines more than this many bytes however long the buffer is, so growing the buffer alone can stall. See the crate-root “The loop that terminates”.