Zeev wrote:
> 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.
>
This is certainly in line with my own real-world tests. I suspect that in
most applications, much the largest overheads are parsing the scripts
(unless you are using Zend cache or APC) and database calls. On my
application, the few milliseconds of processing time lost by going with OOP
are insignificant compared with these - processing time is simply not the
bottleneck.
On the other hand, well designed OOP can offer significant gains in
maintainability and reusability with complex applications...
Geoff Caplan
Insight Professional
--
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]