Comments in code using up memory !! (RESOLVED)
Found this tip on MSDN today and must admit came somewhat as a shock to me, as I never thought this could be an issue.
From MSDN:
Quote:
Additional Tips for Fast Code:
Consider Stripping Comments from Your Delivered Application
Comments in code use memory. If your application contains many lines of commented code, consider stripping the comments from your code in the delivered application. Before delivering the application, save the code to a text file. Make a copy of the text file and strip out the comments. Then load the stripped code back into your application. Retain the text file that contains the commented code for your reference and future development work.
Unless they mean something else by "Delivered Application" :confused: Isn’t that the compiled exe?
I've always left my commented lines in, in all of my my apps before but If this is right then I should remove em all?!
:mad: