[rules-users] Bulk modification

Wolfgang Laun wolfgang.laun at gmail.com
Wed Aug 31 11:57:23 EDT 2011


Intuition can fail you, with Drools more than with many other systems I
know...

Basically, the exists preceding an accumulate is akin to
   if( list.size() > 0 )
      for( Elem el: list ){...}

-W

On 31 August 2011 16:58, chocksmith <rodrigo.goncalves at coffeebeantech.com>wrote:

> Humm... I do not have a benchmark. Thats only intuition... :-)
> If the fact does not exist, then all the rest of the LHS do not need to be
> tested/calculated. When I try to imagine how is the implementation of the
> "collect"... It sounds logical avoiding it if we know that it is not
> necessary.
>
> But I agree with you... It is redundant.
>
> Tx!
> R.
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-Bulk-modification-tp3297162p3298615.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110831/b9e1f5a2/attachment.html 


More information about the rules-users mailing list