Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
teknocide
Beginner


Joined: 15 Jul 2003
Posts: 25
Location: Sweden

PostPosted: Sat Aug 02, 2003 7:55 pm   

Multiple triggers vs. Single-trigger
 
Is it much more inefficient to have 2 triggers with the same pattern to change one variable each, than to have 1 trigger to change 2 variables? I need a certain pattern to change the state of four or five variables, in addition to some other stuff that needs to be done. The trigger is getting very big now, and it would be much easier to add new triggers, mainteanance-wise
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sun Aug 03, 2003 3:07 am   
 
This would be easier to answer if we knew the triggers and variables. In general, two triggers should take approximately twice as long to process as one.

However, it sounds like your real question is:
If I split this up into two triggers, will it slow zMUD down too much?
The only way to answer that is to try it.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net