• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Are conditions leaking/slowing performance?

Status
Not open for further replies.
Level 14
Joined
Aug 8, 2010
Messages
1,022
Hello, basically what the title says - are conditions leaking or slowing performance?
I mean, i know that if/then/else actions slow performance but what about normal trigger conditions? If i have a trigger with no conditions and a trigger with 3 conditions, will there be a difference in their performance?
And, is it possible at all for a condition to leak?

Thanks in advance!
 
Leak Condition;
  • ((Playable map area) contains (Position of (Triggering unit))) Equal to True
Just about any condition that invokes any leak handle such as Point, etc.

About the slowing performance, I think not.
There will be a slight decrease in performance because it performs a check, BUT, the performance is hardly seen so it's fine.
 
in fact, conditions are running faster than actions and thre are reasons for that eople like DSG that know what it actually does should talk about

yes trigger with 3 conditions is slower than trigger eith no conditions but conditions are generally faster than actions thats why Jassers use triggerconditions for everything
downside is that you cant use wait but in GUI you cant use conditions that way so it doesnt matter
 
Status
Not open for further replies.
Back
Top