[rules-dev] DRL - Local objects

Mark Proctor mproctor at codehaus.org
Wed Mar 23 02:18:10 EDT 2011


On 23/03/2011 05:46, Adhir Mehta wrote:
> Hi,
>
> I have written the rule DRL file having around 30 rules in it. Some of 
> the rules do intermediate calculation and those calculation result is 
> expected in the other rules in same DRL file. I can do this by 
> modifying the facts objects in one rule and get the value in other 
> rule. However, modifying the facts object rebuild the RETE tree and 
> affects the performance. Is there any way by which I can pass the data 
> across the rules in same DRL file without rebuilding the RETE tree. (I 
> am more concerned about the performance)
Please continue this conversation on the USER mailing list
http://www.jboss.org/drools/lists.html

Modifying facts does not rebuild the rete. Adding/Removing rules causes 
changes to Rete tree.
>
> Thanks,
> Adhir
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110323/fefc2b98/attachment.html 


More information about the rules-dev mailing list