[rules-users] What's more efficient too ?

2008-11-21 Thread vdelbart
I have a similar question with global or fact (Foo is never modified) What's more efficient beetwen : 1. rule Foo_globals when Foo(name != null) from fooGlobals then ... end 2. rule Foo_facts when Foo(name != null) then ... end

Re: [rules-users] What's more efficient too ?

2008-11-21 Thread Edson Tirelli
Same answer: most of the time, it is better to have it as a fact, but sometimes, a from may be better by limiting your search space. Again, these things are like SQL. You need to look at the whole domain model as well as the set of your rules. The major performance optimizations are made on