Skip to main content

MAX_DEPTH

Constant MAX_DEPTH 

Source
pub const MAX_DEPTH: u32 = 32 /* 32u32 */;
Expand description

How deep an expression nests: at most this many functions inside one another, whatever built it — the grammar, data, prefix code, C’s builders or a Rust tree handed to intern. Every walk of a tree (evaluating, hashing, comparing, spelling, dropping) recurses, so a tree the table keeps is one those walks can finish.