Does this rule engine use Rete or any other algorithm for processing efficiency? #192
Unanswered
ravimpatel
asked this question in
Q&A
Replies: 1 comment
-
I took a really quick look at the code and it looks like it runs the rules in order. Though the magic seems to be in the pre-compiling & caching of the ruleset's by workflow. So as you add workflows to the engine instance, it will pre-emptively compile the expression trees necessary to evaluate the various predicates. RulesEngine/src/RulesEngine/RulesEngine.cs Line 332 in 4a2b345 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Many rules engines (e.g. Biztalk, NRules etc.) use Rete algorithm for efficiency. Interested to know how this rule engine handles scenarios where there are many rules to be applied on many objects.
Beta Was this translation helpful? Give feedback.
All reactions