Re: [PHP] does //commenting reduce performance?

2002-11-25 Thread DL Neil
Jason, ad infinitum, ad nauseum However it was your recent post that (sig file) quoted the Freudian: ontogency recapitulates phylogeny We should make them become more like us - even if we kill them in the process! =dn On Sunday 24 November 2002 22:58, DL Neil wrote: Neatly done Ernest!

[PHP] does //commenting reduce performance?

2002-11-24 Thread Adam
I have always had the opinion that the more comments you put into php scripts, the slower they will run because there is more data to be read... Can someone tell me if there is any truth in this or whether commenting has absolutely 'no' impact on the performance of a script? Thanks, Adam. --

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Kyle Gibson
I have always had the opinion that the more comments you put into php scripts, the slower they will run because there is more data to be read... Can someone tell me if there is any truth in this or whether commenting has absolutely 'no' impact on the performance of a script? The comments are

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread DL Neil
Adam, I have always had the opinion that the more comments you put into php scripts, the slower they will run because there is more data to be read... Can someone tell me if there is any truth in this or whether commenting has absolutely 'no' impact on the performance of a script? An answer

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Ernest E Vogelsinger
At 09:42 24.11.2002, Adam said: [snip] I have always had the opinion that the more comments you put into php scripts, the slower they will run because there is more data to be read... Can someone tell me if there is any truth in this or whether commenting

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Ernest E Vogelsinger
At 12:58 24.11.2002, DL Neil said: [snip] Why don't you run a microtime testbench to time a commented and an uncommented loop, settle your mind, and report back with REAL information!? [snip] Some time ago I've made

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread @ Edwin
Hello, Ernest E Vogelsinger [EMAIL PROTECTED] wrote: As PHP is an interpreter it needs to scan every line and every token of code as it runs it. Thus said, of course using comments takes more time to execute than having no comments. I have no profiling yet how much having comments or blank

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread DL Neil
Neatly done Ernest! Also in showing how these questions are best answered with five minutes on the PC, than a msg to the list... At 12:58 24.11.2002, DL Neil said: [snip] Why don't you run a microtime testbench to time a commented and an uncommented

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread DL Neil
Ernest, Some time ago I've made myself a framework for such tests and have run it against a commented loop. This test was run on a dual PIII/1000 Dell server. $hpr = _fwx_profile_start('Loop with end-of-line comment', true); for ($i = 0; $i 100; ++$i) { $a += 1;

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Sterling Hughes
At 09:42 24.11.2002, Adam said: [snip] I have always had the opinion that the more comments you put into php scripts, the slower they will run because there is more data to be read... Can someone tell me if there is any truth in this or whether

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Ernest E Vogelsinger
At 16:10 24.11.2002, DL Neil said: [snip] However, if the Loop without comment results make sense to you - you're a better man than I, Gunga Din! [snip] I'd rather have my scripts crawl than having no comments in

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Vincent Vandemeulebrouck
I have always had the opinion that the more comments you put into php scripts, the slower they will run because there is more data to be read... Can someone tell me if there is any truth in this or whether commenting has absolutely 'no' impact on the performance of a script? If the overhead

Re: [PHP] does //commenting reduce performance?

2002-11-24 Thread Jason Wong
On Sunday 24 November 2002 22:58, DL Neil wrote: Neatly done Ernest! Also in showing how these questions are best answered with five minutes on the PC, than a msg to the list... ... until someone else comes along and asks a similar question and you have to show them again how it's best