<div><br></div>   Joe,<div><br></div><div>   To be honest, I don&#39;t know. My guess is it would be a bit faster as the consequence would be compiled only once, but I have no numbers to compare... question: are you using a single builder and adding multiple files/rules to it, or are you using one builder per file? Is your application spending most of the time on the builder or adding rules to the kbase? I see you are still using the old API (method addPackageFromDRL())... does the new API make any difference? Also, I know Tihomir was improving perf in trunk by caching the configuration file... did you tried trunk? Does it make difference for you?</div>
<div><br></div><div>   Edson</div><div><br><div class="gmail_quote">2011/1/13 Joe White <span dir="ltr">&lt;<a href="mailto:Joe.White@recondotech.com">Joe.White@recondotech.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div lang="EN-US" link="blue" vlink="purple">

<div>

<p class="MsoNormal">For a large rulebase (200k+ rules) will the call to
addPackageFromDrl(drlString) run faster if the number of rules is smaller but
the rules include more || statements between predicates? </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">There is only one type of object ever inserted in working
memory and I have many rules with the same RHS. I can collapse those rules into
one LHS with ors between the predicates in the object, but I would only go
through the effort of optimizing if it would improve load time.</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Thanks for your help.</p>

<p class="MsoNormal">Joe</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"> </p>

<p class="MsoNormal"><span style="font-size:10.0pt">This message is confidential.
It may also be privileged or otherwise protected by work product immunity or other
legal rules. If you have received it by mistake, please let us know by e-mail
reply and delete it from your system. You may not copy this message or disclose
its contents to anyone. The integrity and security of this message cannot be
guaranteed on the Internet.</span><span style="font-size:10.0pt"></span></p>

<p class="MsoNormal"> </p>

</div>

</div>


<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>