- Joined
- Jul 18, 2014
- Messages
- 222
- Reaction score
- 14
- First Language
- English
- Primarily Uses
- RMMV
Is there a recommended limit to not exceed with the number of variables (and let's include switches as well) in your game? I've once read a user comment on someone else's game having 100+ variables as inefficient. I've been trying to be efficient with the number I use, but should I really try?
30 variables vs 300 variables for example. Would there be any difference in performance?
EDIT: Bonus question. Say I create 200 variables, but variables 100-130 are unused... can there be any impact on performance? Are those empty slots taking up any memory?
30 variables vs 300 variables for example. Would there be any difference in performance?
EDIT: Bonus question. Say I create 200 variables, but variables 100-130 are unused... can there be any impact on performance? Are those empty slots taking up any memory?
Last edited by a moderator: