Do comments slow down your program?

whitesaint

cocoa love
Hey I was wondering this. I read somewhere that "the compiler ignores comments", but is there any chance of it slowing my program at all? Or would it hurt the performnace of my program if I had 20 pages of comments in it?

All feedback is welcome and appreciated.

Thanks
-whitesaint
 
I could see that slowing down actual compiling (like a microsecond), but not the executable. It's interpreted just like whitespace.

On the other hand, if you have lots of NSLog's everywhere, that will slow down your program considerably (if there's enough of them in wuick repetition)

F-bacher
 
Back
Top