Skip to main content

DEEP_STACK

Constant DEEP_STACK 

Source
pub const DEEP_STACK: usize = _; // 268_435_456usize
Expand description

Virtual stack reserved for work whose recursion depth tracks input nesting. Large enough that even adversarially deep input cannot exhaust it; on demand-paged systems the reservation stays uncommitted until touched, so the cost is address space rather than resident memory.