It's common Rete wisdom to order patterns by expected frequency of
matches, in descending order.
Does this also apply to constraints within a single pattern? For
example, is it better to write, for a New York address
Address( street == "Broadway", number == 1)
than
Address( number == 1, street == "Broadway")
or is this irrelevant?
Or does it depend on either constraint (on each own) also occurring in
another rule without the other one?
I guess this could also depend on the implementation, i.e., how
fine-grainedly condition sharing is being done.
Cheers
Wolfgang