- Previous thread: rules-users - Implement timer in rule
- Next thread: rules-users - Detecting an expired Event
- Threads sorted by date: jboss-rules-users 201007
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();
}
Probably not, work is done on insert not fire. Fire just shows what is
on the agenda.
-Michael
>
on the agenda.
-Michael
>
Related Threads
- android-developers - Button inside a TextView??? - android-developers
- nbusers - Secondary emails - netbeans-nbusers
- Bacula-users - heartbeat problems - bacula-users
- funky kernel message from syslogd - debian-user
- android-developers - Android Emulator ISSUE: huge icons on the desktop and wrong density - android-developers
- netbook remix question - kubuntu-users
- Haskell-cafe - ANN: precis-0.3.1 - Cabal package diff tool - haskell-cafe