Intuition can fail you, with Drools more than with many other systems I know...<br><br>Basically, the exists preceding an accumulate is akin to<br>   if( list.size() &gt; 0 )<br>      for( Elem el: list ){...}<br><br>-W <br>
<br><div class="gmail_quote">On 31 August 2011 16:58, chocksmith <span dir="ltr">&lt;<a href="mailto:rodrigo.goncalves@coffeebeantech.com">rodrigo.goncalves@coffeebeantech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Humm... I do not have a benchmark. Thats only intuition... :-)<br>
If the fact does not exist, then all the rest of the LHS do not need to be<br>
tested/calculated. When I try to imagine how is the implementation of the<br>
&quot;collect&quot;... It sounds logical avoiding it if we know that it is not<br>
necessary.<br>
<br>
But I agree with you... It is redundant.<br>
<br>
Tx!<br>
R.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-Bulk-modification-tp3297162p3298615.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-Bulk-modification-tp3297162p3298615.html</a><br>

</font><div><div></div><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>