26.05.2015, 20:33
If you use separate timers, their logic will be executed only when its needed. By throwing everything inside one timer, it would do unnecessary checks each second.
And more importantly - its always a nice idea to keep things modular, even if it comes with a cost of a slightly slower performance (it will be too minimal to even notice).
In this case to preserve readability, you can just throw a bigger server at the problem. Servers are cheap, developer time is not.
And more importantly - its always a nice idea to keep things modular, even if it comes with a cost of a slightly slower performance (it will be too minimal to even notice).
In this case to preserve readability, you can just throw a bigger server at the problem. Servers are cheap, developer time is not.