Suman Gattu

Global Patterns Vs Local Patterns usage- Urgent Requirment

Discussion created by Suman Gattu on Nov 26, 2008
Latest reply on Feb 16, 2011 by Andrei Palskoi

Dear all,


Please suggest me to use global patterns or local patterns for the below scenario:


All my rulesets uses patterns (count is 11) . I have a case where i need to execute 100 different rulesets.


I can do this by two ways:


1) I can create global patterns (say 11) and intialize them in the entry point. These global patterns will be used in the rulesets (say 100).

2) I can create local patterns (say 11)  in the ruleset and use them.But when I create local patterns for above scenario all the 11 patterns will get evaluated for each ruleset(say 100).


I need to know which is more efficient way of doing in terms of performance.


Thanks in advance.