|
mortie Wanderer
Joined: 26 Sep 2002 Posts: 73 Location: United Kingdom
|
Posted: Sat Feb 07, 2004 1:06 pm
trigger memory usage |
Hi,
A couple of questions.
Do all triggers wether they are disabled or enabled get loaded into memory?
secondly,
Which is more efficient
having a trigger where you use
({@pattern})
and stick all the patterns you want to match in a variable list.
or
Having a trigger for each pattern.
The variable list might contain a 100 items.Would this slow things down as it needs to check each time if its in the list?
thanks |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat Feb 07, 2004 5:09 pm |
Do all triggers whether they are disabled or enabled get loaded into memory?
Yes.
Which is more efficient? My understanding is that:
Individual triggers will process faster.
A list variable pattern will require less memory.
You aren't likely to notice the speed difference on most computers unless you are running benchmark tests. |
|
|
|
mortie Wanderer
Joined: 26 Sep 2002 Posts: 73 Location: United Kingdom
|
Posted: Sat Feb 07, 2004 5:58 pm |
Thanks for the info
|
|
|
|
|
|