Skip to main content

MAX_RPQ_AST_DEPTH

Constant MAX_RPQ_AST_DEPTH 

Source
pub const MAX_RPQ_AST_DEPTH: usize = 256;
Expand description

Hard limits keep user-provided path expressions from turning NFA or DFA compilation into an unbounded memory allocation. They are deliberately independent: a compact NFA can still have an exponential DFA.