Skip to main content

compare_complexity

Function compare_complexity 

Source
pub fn compare_complexity(expr1: &TLExpr, expr2: &TLExpr) -> Ordering
Expand description

Compare two expressions by their complexity.

Returns the simpler expression first.