Re: [SMARTY] MD5
| From: | Monte Ohrt | Date: | Wed, 05 Jun 2002 16:55:34 +0000 |
| Subject: | Re: [SMARTY] MD5 | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4626@lists.php.net to get a copy of this message | ||
fyi, crc32 can create negative numbers. Although starting filenames/dirnames with "-" seems to work in Solaris/Linux, I'm not sure how other OS's might behave, so we replace the "-" with an "N" to be safe.
Matt Berg wrote:
Thanks. I was unaware of crc32 which should be perfect since I plan on using in a similar fashion to the way you name your compiled templates. Matt Andrei Zmievski wrote:-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.On Wed, 05 Jun 2002, Monte Ohrt wrote:We switched everything internal to Smarty to use crc32 instead, it is ~10 times faster. It may or may not suit your needs.Yes, but while crc32 fits our needs, md5() is a much more robust algorithm.-Andrei http://www.gravitonic.com/* It said 'Winmodem' on the box, but I still feel like I lost. *