Solved Which causes the least amout of lag?

Discussion in 'Plugin Development' started by Orange Tabby, Feb 13, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Orange Tabby

    Okay, lets say I have an update method in a player stat class would it cause more lag to have a loop for each player or have one loop that loops thru every stat class and calls the update method


    Edited:
    btw, The loop gets called every 4 ticks
     
  2. Offline

    teej107

  3. Offline

    Orange Tabby

    Okay Thanks :D
     
  4. Offline

    teej107

    Orange Tabby likes this.
Thread Status:
Not open for further replies.

Share This Page