Skip to main content

MAX_FORMULA_LEN

Constant MAX_FORMULA_LEN 

Source
pub const MAX_FORMULA_LEN: usize = 8_192;
Expand description

Longest formula accepted, in characters: Excel’s limit for formula contents. It also bounds the depth of the trees long operator chains build (1+1+…), which dropping and evaluating walk recursively; without it a formula of a few hundred kilobytes in a file overflows the stack.