[rules-users] Can When part of DRL contains simple logics?

Sonata plz.write.to at gmail.com
Wed Jan 15 00:44:59 EST 2014


laune wrote
> There is no magic wand.
> 
> But for any expression evaluation on the LHS that occurs frequently, ask
> yourself whether the data is optimal. For instance: rather than testing
> repeatedly whether some date in a fact plus three days is greater than
> today, compare that date to a constant date computed once as today
> minus three days.
> 
> -W

I think we are better off if Drools can cache LHS values




--
View this message in context: http://drools.46999.n3.nabble.com/Can-When-part-of-DRL-contains-simple-logics-tp4027677p4027690.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list