[rules-users] Drools 5.3 Salience

Mark Proctor mproctor at codehaus.org
Wed May 2 13:31:22 EDT 2012


On 02/05/2012 18:09, gboro54 wrote:
> I know using salience is not the best way to order rules but some of our
> rules do have a higher priority then others. Since we are writing the rules
> using a DSL I have created set set of Priority levels which set the
> salience. One of these levels set salience to 0(default value). Is there any
> harm in putting this on every rule with no priority for consistence when
> reading the rules.
There is no performance impact from this. All rules have a salience 
value, whether you assign it or not, it just defaults to 0.

Mark
>
> TIA
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Drools-5-3-Salience-tp3955545.html
> Sent from the Drools: User forum 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