inevit4ble
Well-Known Member
- Reaction score
- 38
Hi Every1,
Question is:
I got a bunch of variables.
Not all of them will be used per instance of the trigger
Is it better to initialize their values even if they might not be used?
or
Rather set them only if they will be used?
Info:
The variables I am referring to are all integers, so I do realize that it doesn't take a lot but it is a very frequent trigger and may need to run within split seconds of each instance (Event == Unit is Attacked).
This is for my Damage System
Question is:
I got a bunch of variables.
Not all of them will be used per instance of the trigger
Is it better to initialize their values even if they might not be used?
or
Rather set them only if they will be used?
Info:
The variables I am referring to are all integers, so I do realize that it doesn't take a lot but it is a very frequent trigger and may need to run within split seconds of each instance (Event == Unit is Attacked).
This is for my Damage System