Hello again,
I'm working on a trigger that will be firing very often, and hence I want it to be efficient as possible (every time a unit is attacked in a high population map). I was wondering which scenario causes more lag, assuming equal actions overall: a trigger that runs another trigger, or a trigger with all the actions within it.
So, to model the problem, would this set of triggers...
Trigger Example A
Event: X
Conditions: Y
Actions: Run Trigger Example A1
Trigger Example A1
Actions: Z
Cause more lag than this trigger...
Trigger Example B
Event: X
Conditions: Y
Actions: Z
Considering they perform the exact same actions, I would think any lag experienced would be the same. But on the other hand, Trigger A/A1 does include the extra 'step' of pointing to the external trigger, so I'm not sure. I'm no computer expert so maybe this question is laughably simplistic or I'm making mountains out of molehills, but any insight would be appreciated!
I'm working on a trigger that will be firing very often, and hence I want it to be efficient as possible (every time a unit is attacked in a high population map). I was wondering which scenario causes more lag, assuming equal actions overall: a trigger that runs another trigger, or a trigger with all the actions within it.
So, to model the problem, would this set of triggers...
Trigger Example A
Event: X
Conditions: Y
Actions: Run Trigger Example A1
Trigger Example A1
Actions: Z
Cause more lag than this trigger...
Trigger Example B
Event: X
Conditions: Y
Actions: Z
Considering they perform the exact same actions, I would think any lag experienced would be the same. But on the other hand, Trigger A/A1 does include the extra 'step' of pointing to the external trigger, so I'm not sure. I'm no computer expert so maybe this question is laughably simplistic or I'm making mountains out of molehills, but any insight would be appreciated!