-
Committer:
GitHub
-
Author(s):
Loïc Blot
-
Date:
2017-03-17 21:15:25 UTC
-
Revision ID:
git-v1:a7485e40ffbc0f2bf255ac62cc256252bcb7a048
Reduce memory & function cost of Game class functions (#5406)
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)