Re: Comments and performance

From: Date: Sat, 05 Mar 2005 21:28:15 +0000
Subject: Re: Comments and performance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-210072@lists.php.net to get a copy of this message
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

« previous php.general (#210072) next »