Compressessed Smarty class

From: Date: Mon, 05 Jul 2004 21:50:30 +0000
Subject: Compressessed Smarty class
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2434@lists.php.net to get a copy of this message
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

« previous php.smarty.dev (#2434) next »