Skip to main content

MAX_NODE_DEPTH

Constant MAX_NODE_DEPTH 

Source
pub const MAX_NODE_DEPTH: usize = 256;
Expand description

How deeply nodes may nest below a window root; agents cap their walk at this depth and decoders reject deeper trees. The decoder keeps its own stack of open nodes on the heap, so a deep tree never exhausts the thread stack.