It depends on your problem, but yes.. it could be more efficient, except for the fact that you need to move all the objects from one session to the other. Another alternative is to use some kind of control fact that only activate the second group of rules when the first group has been evaluated.
Cheers On Wed, Dec 21, 2011 at 2:25 PM, lhorton <[email protected]> wrote: > So if we have, for example, a set of rules that we know only need to be > evaluated under certain conditions or for discrete types of Facts, would it > be more efficient to put them in a separate knowledge sessions? > > Meaning, instead of one session where we insert all objects and then fire > agenda-group-1 and then agenda-group-2, we have knowledgeSession1 and > knowledgeSession2, insert only the facts relevant to each session, and fire > all rules on each session. > > -- > View this message in context: > http://drools.46999.n3.nabble.com/rules-users-Action-tp3604296p3604632.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users -- - CTO @ http://www.plugtree.com - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino "Salaboy" Mauricio - _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
