Re: [PHP] Comments and performance

2005-03-08 Thread Richard Lynch
> 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? The comments get stripped out on each execution of the whole script, unless you are using a caching system such as Zend Cache.

Re: [PHP] Comments and performance

2005-03-05 Thread Matthew Fonda
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

[PHP] Comments and performance

2005-03-05 Thread Chris Smith
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 c