what i've found is that you should always just make things as easy as
possible for the rule engine.

the RETE graph cannot put 'evaluated' conditions into its graph. it can't
make a graph link because the method could evaluate to anything, and
therefore there is no 'cacheing', though i doubt anything is really cached.

so, if you can, call that method beforehand, and put the boolean result as a
field in your fact object.  that will vastly improve the run time.
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Execution-Query-tp825763p825843.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to