RE: [PHP] Re: PHP and OOP
| From: | Martin Towell | Date: | Fri, 28 Jun 2002 00:20:57 +0000 |
| Subject: | RE: [PHP] Re: PHP and OOP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-104237@lists.php.net to get a copy of this message | ||
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]