Re: Proposing a new extension : Autoload

From: Date: Wed, 12 Dec 2007 17:31:47 +0000
Subject: Re: Proposing a new extension : Autoload
References: 1 2 3 4 5 6 7 8  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4980@lists.php.net to get a copy of this message
> > Those 4 things you just mentioned serve a distinct and useful purpose. > > They are are not redundant with respect to one another. > > > Well.. they are in fact, since I'm only (and usually) talking about > performance.. > > include/require = SLOW, include_once,require_once = VERY SLOW > And maybe I'm being too abstract, say when you're including classes... (I know; real crazy) You use include_once when you want to only include it once, so every file that needs it doesn't try to spend file time on opening it again... Currently, this is slow, opcode cache's have to continually spend time in io operations and there is no in memory persistent referencing. That's why it's soo slow... that's why it's sooo easy to add bloat... even when trying not to.. > > Cheers, > > Rob. > > -- > > ........................................................... > > SwarmBuy.com - http://www.swarmbuy.com > > > > Leveraging the buying power of the masses! > > ........................................................... > > > > -- > > > > PECL development discussion Mailing List (http://pecl.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > -- > ~ > Pedram Nimreezi > Senior Programmer / Frameworkologist > mc@majorcomputing.com | pedram@5g.com > -- > > > "A common mistake that people make when trying to design something > completely foolproof is to underestimate the ingenuity of complete > fools." - Douglas Adams > -- ~ Pedram Nimreezi Senior Programmer / Frameworkologist mc@majorcomputing.com | pedram@5g.com -- "A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams

« previous php.pecl.dev (#4980) next »