Login | Register
My pages Projects Community openCollabNet

Reply to message

* = Required fields
* Subject
* Body
Send reply to
Author (directly in email)
Please type the letters in the image above.

Original message

Author =?ISO-8859-1?Q?David_Z=FClke?= <dz@bitxtender.com>
Full name =?ISO-8859-1?Q?David_Z=FClke?= <dz@bitxtender.com>
Date 2006-10-03 14:12:28 PDT
Message > Even with an opcode cache you have to respect the sandbox-principle of
> PHP. The Class/Function/Object-model is built upon every new request.
> Opcode Caches just eliminate parsing and compiling, but every
> class/function must be registered in the engine though.
> So I'm wondering if there are performance improvements or even losings
> in a big object model with one big file. Maybe (IMHO) just using (and
> registering) the classes that will be needed is faster!

That is correct. I doubt that a single-file approach would be able to
outperform an autoloading architecture considerably under typical
usage situations.