const MAX_RECURSION_DEPTH: usize = 1000;
Expand description

A recursion depth limit, so we don’t hit a stack overflow and instead, abort and call another function.

Why is it 1000? Seemed sensible, and that’s what python’s is.