HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Which is best

11-07-2007, 06:50 PM#1
SkriK
Which is best (for performence):

Few triggers with a larger amount of if's and actions
or
Lots of triggers with a small amount of if's and actions.
11-07-2007, 06:54 PM#2
TheDamien
It is really situational. Can you give a context example?
11-07-2007, 07:18 PM#3
moyack
Quote:
Originally Posted by SkriK
Which is best (for performence):

Few triggers with a larger amount of if's and actions
or
Lots of triggers with a small amount of if's and actions.
it depends. In the case of having triggered abilities, its better to have trigger per ability, for instance.

About performance... I believe lots of triggers is better, but I'm not sure.
11-07-2007, 07:26 PM#4
cohadar
>> Lots of triggers with a small amount of if's and actions.

Because if-ing would be done by the trigger system,
witch is faster than jass if's.