[PHPTAL] require_once vs autoloading

romtek romtek at gmail.com
Sun Jun 6 06:24:21 CEST 2010


On Tue, Jun 1, 2010 at 11:10 PM, Tjerk Meesters <tjerk.meesters at gmail.com>wrote:

> I could be wrong here, but I think it's not so much any problem with
> require_once as it is to reduce memory consumption while using the
> library. This happens when developers only use 30% of the library and
> yet the whole shebang is loaded on every request ;-)
>

I think I have noticed reduction in memory consumption but not much. For one
page I've tested with, it went from 1.58 MB to 1.51 MB (about 4.4%). Have
others noticed bigger reduction?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/phptal/attachments/20100605/b62ca53b/attachment.htm


More information about the PHPTAL mailing list