Closed fernando-a-marins closed 1 year ago
In the class Rules.Framework.RulesEngine.cs we should improve the performance when the method MatchOneAsync is called.
Rules.Framework.RulesEngine.cs
MatchOneAsync
Currently, the MatchOneAsync is calling the method MatchManyAsync and only then the priority is selected.
MatchManyAsync
We suggest here, for the MatchOneAsync evaluate the priority first and then "exit" when the first match occurs.
An investigation is recommended before starting developing.
In the class
Rules.Framework.RulesEngine.cs
we should improve the performance when the methodMatchOneAsync
is called.Currently, the
MatchOneAsync
is calling the methodMatchManyAsync
and only then the priority is selected.We suggest here, for the
MatchOneAsync
evaluate the priority first and then "exit" when the first match occurs.An investigation is recommended before starting developing.