But isn't the way Rete work is that it creates a decision tree to work out which rules to evaluate. Right at the top of the tree will be a check on the fact type that is being inserted, as the fact being inserted doesn't match against any of the 20k rules (it is a totally different object type) the evaluation will finish immediately with no further rule evaluations.
Thomas
**************************************************************************************
> -----Original Message-----
> From: rules-users-bounces@lists.jboss.org [mailto:rules-users-
> bounces@lists.jboss.org] On Behalf Of djb
> Sent: 08 February 2010 14:41
> To: rules-users@lists.jboss.org
> Subject: Re: [rules-users] Reading DRL file with large number of rules
>
>
> I second Felipe -
> since every time you modify working memory (eg. insert), it refires all
> rules, so for 20k rules, you're looking at something like 350-400 million
> firings :) Or, without no-loop, it will never end. Though perhaps salience
> skips this second problem.
>
>
>
>
> --
> View this message in context: http://n3.nabble.com/Reading-DRL-file-with-
> large-number-of-rules-tp190032p192446.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00
**************************************************************************************
This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.
An NDS Group Limited company. www.nds.com
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users