+ 7
Do comments affect the performance?
7 Respostas
+ 7
no the compiler throws them out in the executable
+ 2
What I was told(Basic) is comments consumes storage space but not in the bit file.
+ 2
No, the complier throw them out so it's executable at once the code is run for output
+ 1
Hi HB
From a JavaScript perspective there is a small impact in that it increases the size of the file that is downloaded to the browser. There is not an impact to the execution.
For large production code, developers will use Minifiers which will strip out comments and white space, so in practice this is not a problem.
+ 1
100%
+ 1
pl,looo
+ 1
In ctt, no it doesn't