Skip to content


Reduce memory & function cost of Game class functions (#5406)
Browse files Browse the repository at this point in the history
GameRunData is passed on many game functions, or one of its attributes whereas it's a member of the class. Remove it from functions arguments and call object directly from concerned functions.
This will reduce a little bit the Game class loop usage & very little bit the memory usage (due to non creation of pointer/references)
  • Loading branch information
nerzhul committed Mar 17, 2017
1 parent ba0a8da commit a7485e4
Showing 1 changed file with 217 additions and 271 deletions.

0 comments on commit a7485e4

Please sign in to comment.