Compressessed Smarty class
[email protected] (Markku Niskanen)
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
Incase anybody might be interested ... I did some testing, "compressing" the Smarty class file using the new handy strip_whitespace PHP5 function and loaded the class in my entry-level development server (P300). I "included" the Smarty class file unstripped and then stripped and the average times it took to load the files were: Original Smarty.class.php 0.0453 seconds Stripped Smarty.class.php 0.0388 seconds. The difference was around 0,0065 seconds. So it seems that stripping off all whitespace does have an effect, if not too big. Markku -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php