Skip to main content

Complexity

Type Alias Complexity 

Source
pub type Complexity = u32;
Expand description

Type alias for complexity scores

Complexity scores measure how “simple” an expression is. Lower values indicate simpler expressions that will be shown first.

Uses u32 to allow for very long expressions without overflow risk, though practical expressions typically have complexity < 500.