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
This is clearly inefficient. We should be able to take advantage of the fact that OrderRule will sort all ground terms, thus requiring us only to attempt all possible variable positionings when matching.
The text was updated successfully, but these errors were encountered:
Currently, orderless matching simply tries all permutations of arguments:
https://github.com/HarrisonGrodin/Rewrite.jl/blob/03af1708d18f17efbc6e604b58c4d4943930607b/src/match.jl#L138-L146
This is clearly inefficient. We should be able to take advantage of the fact that
OrderRule
will sort all ground terms, thus requiring us only to attempt all possible variable positionings when matching.The text was updated successfully, but these errors were encountered: