Comments (3)
@KoalaBear84 GetTypedObject only converts an object if the type is not present(if type of object is expandobject). In the sample that you shared since you convert it to dictionary<string,object> it does not run any type conversion logic and hence is fast.
As for dictionary support, it should support basic use case as you mentioned in v2.1.4+. I will try adding some test case with dictionary<string,object>. Meanwhile you can use dictionary<string,object> as an input directly and check if it improves performance
from rulesengine.
Thanks for your reply. I've removed the extra call. Will be tested tomorrow and I'll update this ticket accordingly.
from rulesengine.
It's tested and the rules work. Strangely there are still some big fluctuations in the ExecuteRule. But that is strange, looks like the issues are a problem from the system, not the Rules Engine. Thanks!
from rulesengine.
Related Issues (20)
- Are there future plans to support multiple success or fail actions? HOT 4
- Pass additionalInputs to EvaluateRule Action HOT 1
- How to do nested if else HOT 3
- Using OnSuccess/OnFailure Actions within a rule causes a NullReferenceException when the Context is not defined
- Utils.GetTypedObject fails to type lists of objects with nullable values HOT 2
- Using inputFilter and additionalInputs functionality issues HOT 1
- Compiling rules into JS - is it supported/planned?
- RulesEngine lifetime and thread-safety HOT 4
- Custom Name of Parameter not being honored. HOT 2
- Cannot use math from System.Math HOT 2
- Unexpected True Result from Expression Evaluation with Default ReSettings
- Custom method is not being called with ExecuteActionWorkflowAsync; throwing parser error. HOT 1
- Rule Engine
- Ef Derived Class concern HOT 1
- If an execution took an exception in the next runs error message is transfered even if it successes. HOT 1
- Missing syntax highlighting in wiki getting started
- AOT compatibility, and move to System.Text.Json HOT 1
- Dictionary type supports .?
- Possibility to choose the execution of all actions or not
- Support for Any-Operator on List-Types HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rulesengine.