0
Do comments affect performance?
Is there any performance difference between code that has no comments and code that is littered with comments? (assuming that the same code was written in both instances)
4 Antworten
+ 2
As far as I'm aware, comments are ignored by the compiler. Only the coder sees them.
+ 2
no.
0
That was my assumption but I just wanted to verify, thanks!
0
Maybe a tiny bit in JavaScript.