Info on memory and variables

I have a simple question but I just need to have some clarification about it.
In my program I have in .h few variables and objects declared that I haven’t used in .cpp and some functions in .cpp that I ended up not using but that I would like to keep for the future.
Will this use memory and reduce performance of my app?
I hope the question is clear.


no, in release mode mostly those objects will way away and at most they would use memory but won’t usually slow things down

1 Like

thanks @arturo