[rules-users] fireAllRules performance
Michael Rhoden
mrhoden at franklinamerican.com
Fri Jul 30 06:00:35 EDT 2010
Probably not, work is done on insert not fire. Fire just shows what is
on the agenda.
-Michael
On Jul 30, 2010, at 8:32 AM, sjoo822 <sean.joo at gmail.com> wrote:
>
> I have several thousand objects that gets inserted into a statefull
> knowledge
> session as show below:
>
> for (Item item : itemList)
> {
> session.insert(item);
> }
>
> session.fireAllRules();
>
>
> Assuming that all the conditions in the rules only concern with one
> item at
> a time, will there be a big performance difference if I changed the
> above to
> as shown below?
>
> for (Item item : itemList)
> {
> session.insert(item);
> session.fireAllRules();
> }
> --
> View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/fireAllRules-performance-tp1004415p1004415.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list