Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
Oops, something went wrong.