|
-
Apr 14th, 2003, 11:23 PM
#1
Thread Starter
Fanatic Member
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:
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" 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?!
Last edited by daydee; Apr 15th, 2003 at 04:47 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|