Hi
In the JBoss Rules 5.0 dev guide I read the statement:
When comparing inline eval with standard eval, we can see that they both
must
return true or false. However, inline eval must be a time-constant
expression.
It is evaluated only once and then it is cached by Drools
1. Can I assume that the caching lasts until the session is disposed of?
2. Is there a difference between the conditions Fact( eval(isValid) ) and
Fact( isValid == true ) or are they evaluated in the same way?
-Evert
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/inline-eval-vs-compar...
Sent from the Drools - User mailing list archive at
Nabble.com.