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:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 5:21 PM To: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 11:50 PM To: Kondwani Spike Mkandawire; [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php