Re: Performance & Comments Question
| From: | Barry | Date: | Thu, 19 Jan 2006 11:48:11 +0000 |
| Subject: | Re: Performance & Comments Question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228813@lists.php.net to get a copy of this message | ||
Rodolfo Andrade wrote:
Hi all! I would like to know if comments in the code affects the performance. I know that comments are ignored by the interpreter, but it does increase the file size, so I was thinking about a possible performance hit for highly commented files. Can anyone confirm this? Thanks! Rodolfo AndradeIm not quietly sure how the parser works but i think it stops reading a line for example when the // or # are detected how its about /* and */ im not quitly sure. but i think this commenting will affect the parser in some way. And yes i also think commenting affects the parser. Not much though but well it does. Barry