effects of Hashtable in performance.

I was wondering about the performance of my game ...

the question is whether to use many (about 10) "Hashtable" this greatly would affect the performance of the game when having 8 or more player in a room ..?

since I use it to send information on each player and the room .. (Kills, Deaths, Xp, Heat-Shots, etc ...)

that's my simple question, would appreciate your response, thank you ..!


  • It depends on how much data and how frequently you synchronize.
    Try sync as little data as possible. Also using of short keys for hashtables makes sense.
Sign In or Register to comment.