|
Posted by Rik on 06/28/07 16:08
On Thu, 28 Jun 2007 18:01:22 +0200, ZeldorBlat <zeldorblat@gmail.com>
wrote:
> On Jun 28, 11:34 am, PaowZ <gpa...@gmail.com> wrote:
>> On 28 juin, 16:42, Toby A Inkster <usenet200...@tobyinkster.co.uk>
>> wrote:
>>
>> > PaowZ wrote:
>> > > I got started developing an app using php object and have the worst
>> > > requests time I ever seen.
>>
>> > Are you using autoloading?
>>
>> > --
>> > Toby A Inkster BSc (Hons) ARCS
>> > [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
>> > [OS: Linux 2.6.12-12mdksmp, up 7 days, 18:22.]
>>
>> > Long-Awaited Zeldman Article
>> > http://tobyinkster.co.uk/blog/2007/06/27/zeldman-in-time/
>>
>> No, I gave up knowing that this magic function is costly.. I prefer
>> require_once() the right class when needed.. :)
>
> How do you know it's costly? I've never had a problem with it...
>
Indeed, autoloading is not the same as preloading. It should have very
little effect on resources.
--
Rik Wasmus
Navigation:
[Reply to this message]
|