Re: smarty-dev Digest 5 Jul 2004 21:50:38 -0000 Issue 253

Dennis Gearon <[email protected]>
Newsgroups gmane.comp.php.smarty.devel
Message-ID <[email protected]>
Please share if you compressed it at RUN time, EACH time, or compressed it and saved it back to the file system.

[email protected] wrote:

> smarty-dev Digest 5 Jul 2004 21:50:38 -0000 Issue 253
> 
> Topics (messages 2434 through 2434):
> 
> Compressessed Smarty class
> 	2434 by: Markku Niskanen
> 
> Administrivia:
> 
> To subscribe to the digest, e-mail:
> 	<[email protected]>
> 
> To unsubscribe from the digest, e-mail:
> 	<[email protected]>
> 
> To post to the list, e-mail:
> 	<[email protected]>
> 
> 
> ----------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> Compressessed Smarty class
> From:
> [email protected] (Markku Niskanen)
> Date:
> Mon, 05 Jul 2004 21:50:30 GMT
> To:
> [email protected]
> 
> To:
> [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
Pl	P

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.