One global timer vs. multiple timers
#3

Quote:
Originally Posted by dominik523
View Post
Should I create one timer globally with interval of a second and check for everything there
Don't! I remember ****** saying it's better to have more timers with less code in them than having less timers with way too heavy code (as you describe it: checking everything).

In the example you gave, those timers will be called only once - still better than repeated timers.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)