Re: [SMARTY] Smarty Light

From: Date: Thu, 08 Jul 2004 18:09:06 +0000
Subject: Re: [SMARTY] Smarty Light
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11546@lists.php.net to get a copy of this message
This is not a matter of just removing a few extensions. I realize that anything in an extension is loaded on request and therefore has no effect on performance when not used. I looked through the compiler class and am fairly certain I can remove alot of its heft by taking a few of the less used features out. Now if you use an accelerator this probably won't make any difference, but if you don't it could speed up things a decent amount. Anyway though, I guess the best way to find out is to actually give it a try and see if I get anywhere. I probably wont get to try this until sometime in late August but when I do I will report back with the results. Thanks, Ara Anjargolian Martin Braun wrote:
Mrak sagte:
All the listed features (except sections maybe) are loaded on request only and hence do not affect performance... moreover, if you take a closer look at the smarty object, you can easily "turn off" features loaded by default, hence I do not see a point in even thinking about smarty light
i don't see any need for smarty light, but if you really want to strip smarty off some features, all you have to do is to delete the associated files. however, this shouldn't gain any perfomance, just a few KB of disk space. I'm no smarty developer, but I think ripping other functions from smarty would only gain perfomance during the compiling process - remember smarty compiles it's templates to PHP-files anyway, and compiling shouldn't happen all the time. just theorizing.... cheers martin


« previous php.smarty.general (#11546) next »