RE: [PHP] Re: PHP and OOP
| From: | Demitrious S. Kelly | Date: | Fri, 28 Jun 2002 00:56:25 +0000 |
| Subject: | RE: [PHP] Re: PHP and OOP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104241@lists.php.net to get a copy of this message | ||
I agree... its trivial when presented as is. But what would be the
difference when you're doing quite a lot more with only 10 iterations?
100? That's something to think about...
-----Original Message-----
From: Martin Towell [mailto:martin.towell@world.net]
Sent: Thursday, June 27, 2002 5:21 PM
To: php-general@lists.php.net
Subject: RE: [PHP] Re: PHP and OOP
I haven't got around to reading all the other replies yet, so this reply
might already be covered...
So I went to that url - and okay, according to the person writing that
page,
there's a ~3sec increase in the time it takes to execute - BUT - that's
to
do 1 million iterations, doesn't seem too much of a difference to me.
So that's just .000003sec increase per iteration - I'm not too fussed
about
that. Compared to easier coding/reading/extensiblity/etc, it's a good
trade
off.
Just my 2c worth
Martin
-----Original Message-----
From: SP [mailto:internetracer@yifan.net]
Sent: Thursday, June 27, 2002 11:50 PM
To: Kondwani Spike Mkandawire; php-general@lists.php.net
Subject: RE: [PHP] Re: PHP and OOP
OO is slower then procedural. You can test that out yourself or look at
this article where the guy did a very basic test. Maybe they will fix
the
speed problem by the time php5 comes around.
http://www.phpbeginner.com/columns/demitrious/objects/8
[snip]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php