microsoft / RulesEngine

A Json based Rules Engine with extensive Dynamic expression support
https://microsoft.github.io/RulesEngine/
MIT License
3.47k stars 528 forks source link

perf: Optimize the processing speed of EvaluateRuleAction #612

Open Aprite opened 1 week ago

Aprite commented 1 week ago

The TryGetContext method is only used in EvaluateRuleAction If catch KeyNotFoundException , Will have a significant impact on the performance of a large number of workflows