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
Originally posted by lustoro April 21, 2023
I've started to use NRules and I'm facing performance issues when Compiling rules by using RuleCompiler.Compile(). I've seen that one of the ways to do some performance improvements is using FastExpressionCompiler suggested here https://github.com/NRules/NRules/wiki/Expression-Compiler. But after doing some performance profiling I've seen that it still works slow for CompileLhsFactExpression in RuleExpressionCompiler.cs. And I've seen that CompileLhsFactExpression do not uses ExpressionCompiler for compilation and only that method do not uses ExpressionCompiler, other methods are using ExpressionCompiler
to have perfromance improvement is it possible to use ExpressionCompiler for CompileLhsFactExpression as well ? And have that change in future version ?
The text was updated successfully, but these errors were encountered:
Discussed in #326
Originally posted by lustoro April 21, 2023
I've started to use NRules and I'm facing performance issues when Compiling rules by using RuleCompiler.Compile(). I've seen that one of the ways to do some performance improvements is using FastExpressionCompiler suggested here https://github.com/NRules/NRules/wiki/Expression-Compiler. But after doing some performance profiling I've seen that it still works slow for CompileLhsFactExpression in RuleExpressionCompiler.cs. And I've seen that CompileLhsFactExpression do not uses ExpressionCompiler for compilation and only that method do not uses ExpressionCompiler, other methods are using ExpressionCompiler
NRules/src/NRules/NRules/Utilities/RuleExpressionCompiler.cs
Lines 40 to 48 in f84f59d
to have perfromance improvement is it possible to use ExpressionCompiler for CompileLhsFactExpression as well ? And have that change in future version ?
The text was updated successfully, but these errors were encountered: