[PHP] Re: Performance Comments Question

2006-01-19 Thread Barry
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?

Re: [PHP] Re: Performance Comments Question

2006-01-19 Thread Jochem Maas
Barry wrote: 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

Re: [PHP] Re: Performance Comments Question

2006-01-19 Thread Austin Denyer
On Thu, 19 Jan 2006 14:09:00 +0100 Jochem Maas [EMAIL PROTECTED] wrote: in real life you won't notice the overhead at all. and people will love you if you'r files are 90% comments :-) I've never been quite that liberal with my comments, but I do have a few files that are 50% comments...

Re: [PHP] Re: Performance Comments Question

2006-01-19 Thread Jochem Maas
Austin Denyer wrote: On Thu, 19 Jan 2006 14:09:00 +0100 Jochem Maas [EMAIL PROTECTED] wrote: in real life you won't notice the overhead at all. and people will love you if you'r files are 90% comments :-) I've never been quite that liberal with my comments, but I do have a few files that

Re: [PHP] Re: Performance Comments Question

2006-01-19 Thread Richard Lynch
On Thu, January 19, 2006 7:09 am, Jochem Maas wrote: Barry wrote: Rodolfo Andrade wrote: and people will love you if you'r files are 90% comments :-) Actually, the times I've seen THAT much commenting, it was generally a lot of useless noise and I hated it... Consider this common practice: