Skip to main content

Module size_order

Module size_order 

Source

Functionsยง

cmp_size
Ascending by size. Commodities are compared one by one in symbol order, a missing one counts as 0, and different commodities are never added.
magnitude
Absolute value for ordering; any i64::MIN numerator has no positive counterpart and sorts as the largest.