Skip to main content

CUT_OFF_DEPTH

Constant CUT_OFF_DEPTH 

Source
const CUT_OFF_DEPTH: u32 = 80;
Expand description

This max depth is used to avoid deep recursion in the span tree, which can lead to stack overflows and performance issues. Spans deeper than this depth will be re-parented to an ancestor at the cut-off depth (Flattening).