You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we use None to represent an optimizing rule to be recursively applied to its children.
And we use Some(TopDown) and Some(BottomUp) to represent a rule can be directly applied to the child node.
The None usage can be directly replaced by introducing a new product type ApplyOrder::Recursive.
This can
remove the usage of nested pattern matching,
better comment the code ,
and help the rust compiler to better optimize the code.