• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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!
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
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.
 
Level 23
Joined
Apr 16, 2012
Messages
4,041
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.
Top