Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

How much do comments slow down the compiler?

Name: Anonymous 2015-02-21 7:26

Is it really worth it to force the compiler to have to sort out which statements to skip and which to attend to? Seems like a non-zero slice of time is being wasted by the lexer just to make shit easier for the programmer.

Name: Anonymous 2015-02-21 7:34

It is non-zero but in practise, it's negligible and easy to ignore. Try stripping out the comments in the GCC source code and then measure the time it takes to compile GCC.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List