Re: Comments and performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Comments should not affect speed or performance at. Commenting is a good
thing, and you should continue to do it. :)

On Sat, 2005-03-05 at 13:15, Chris Smith wrote:
> Hi,
> 
> Probably a silly question, but when I am writing php scripts 
> (specifically large classes), I tend to write just as many comments as 
> lines of code (for my own reference).
> 
> Does this affect _execution performance_ of the scripts at all i.e. are 
> they precompiled/interpreted and cached without comments or interpreted 
> on every execution?
> 
> I am using PHP 5.0.3 on Apache on Windows.
> 
> Many Thanks,
> 
> Chris Smith
> Ninja Labs
> http://www.ninjalabs.co.uk/
-- 
Regards,
Matthew Fonda
http://mfonda.info

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux