Constant expr::RECURSION_LIMIT[][src]

pub const RECURSION_LIMIT: usize = 2048;
Expand description

A recursion limit to be used for stack-safe traversals of MirRelationExpr trees.

The recursion limit must be large enough to accomodate for the linear representation of some pathological but frequently occurring query fragments.

For example, in MIR we could have long chains of

  • (1) Let bindings,
  • (2) CallBinary calls with associative functions such as OR and +

Until we fix those, we need to stick with the larger recursion limit.