Using OO usually results in a significant slowdown.  Significant doesn't 
necessarily mean 50% performance drop;  5% to 20% is not uncommon, and as 
you said, YMMV.

We're working on ways to improve the OO performance, but it's pretty 
difficult, due to the very dynamic nature of PHP.

Zeev

At 08:25 13/5/2001, Sean Cazzell wrote:
>His series of articles ("top php programming mistakes") is great, and
>I've heard good things about his "PHP Cookbook" but Hughes is way off
>here.  There is some additional overhead with OO code but there is *very*
>little difference in speed (less than 5% in synthetic benchmarks, and
>much less in more complex php code) - certainly not the "signigicant slow
>down" that he claims.



--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to