• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Best practice with timers
#4
depends on what the code does, If it's very complex code then it should be on it's own timer. If it's dumb stuff like checking the state of variables and -- or 'ng stuff every 1 second or whatever, then you can bundle all of that in a single func. Microoptimizations like having every single little thing on it's own timer only go so far before they have no effect and only make your code harder to look at
  Reply


Messages In This Thread
Best practice with timers - by RhaegarX - 2021-01-21, 02:16 AM
RE: Best practice with timers - by Pinch - 2021-01-21, 09:57 AM
RE: Best practice with timers - by Freaksken - 2021-01-21, 05:49 PM
RE: Best practice with timers - by Markski - 2021-01-22, 08:57 PM

Forum Jump: