[rules-users] can i reuse rulebase
jack wu
jackxwu at yahoo.com
Tue Jan 22 17:26:47 EST 2008
my profiler shows that it takes the same amount of time to do:
final RuleBase ruleBase = RuleBaseFactory.newRuleBase( RuleBase.RETEOO, conf );
as to do:
session.executeWithResults();
i am wondering if i can cache the ruleBase and do addPackage() and removePackage() for each executeWithResults().
the ducmentation says always create a new ruleBase. so i am kind of confused. thanks for the help.
thanks.
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080122/58a0fa6d/attachment.html
More information about the rules-users
mailing list