Posted by Colin McKinnon on 11/15/24 11:26
Antimon wrote:
> to have seperated files for each class and use __autoload and i have
<snip>
> What shall i do?
>
Measure it for yourself.
I suspect you would need to have a lot of classes to get a benefit from only
a single include file - but then in the real world you're going to have to
load a lot of stuff that you simply don't need - which may offset the
savings you made by consolidating the classes (particularly of you are
using a PHP accelerator).
C.
[Back to original message]
|