RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Does commented out code affect compilation speed?

Does commented out code affect compilation speed?

I was wondering if commented out code would affect compilation speed... For example, say you had like... massive amounts (like a 2mb document) of just pure commented code, would that affect it any?
 

Ray

Sorceror
No.
I mean, technically, yes, because the first stage of compilation has to strip all commentation blocks. But in comparision with all the other parts of the whole compilation, this really doesnt affect speed in a serious way. The next stage doesnt know about comments at all, so it doesnt matter how much code-comments you have.
 
Top