<div dir="ltr">The question here is: what is the result of fireAllRules()? Caching the result of this method is trivial: it's just a number! I think that what you need to build is your own ad-hoc cache that knows how to extract a 'result' out of the session an keep it handy. Implementing this mechanism shouldn't be that hard (at least for simple - no nested- Facts) and once you have it you can validate the benefits.<div>
<br></div><div>Regards,<br><div><div class="gmail_extra"><br clear="all"><div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a></div>
<br><br><div class="gmail_quote">On Wed, Apr 9, 2014 at 11:02 AM, Leonard93 <span dir="ltr"><<a href="mailto:leonardlindenau@hotmail.com" target="_blank">leonardlindenau@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Wouldn't that depend on how long the data is being kept and how often<br>
identical rules are being fired?<br>
<br>
Or would you say the rule engine is faster than all the actions in between<br>
that it wouldnt matter?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Identical-Facts-over-rules-results-being-cached-tp4029169p4029172.html" target="_blank">http://drools.46999.n3.nabble.com/Identical-Facts-over-rules-results-being-cached-tp4029169p4029172.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br></div></div></div></div>