effects of Hashtable in performance.
Options
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 ..!
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 ..!
0
Comments
-
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.0