Re: Problem with custom resource compiled filenames

"messju mohr" <[email protected]> Tue, 23 Aug 2005 10:48:23 +0200
Newsgroups gmane.comp.php.smarty.devel
Message-ID <20050823084823.GB28097@dune>
On Tue, Aug 23, 2005 at 10:42:53AM +0200, Ivo Jansch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hoi,
> 
> Monte Ohrt wrote:
> 
> > That would be fine with me, although Smarty uses crc32() everywhere
> > instead of md5() since it is 10x faster.
> 
> That would be fine with me as well, but I was in doubt whether crc32
> guarantees a unique hash for every string the way md5 does.

neither of the two do does guarantee that. the probability of a
collision is just much lower with md5.

> Greetings,
> Ivo
> 
> - --
> Ivo Jansch <[email protected]>
> ibuildings.nl BV - information technology
> http://www.ibuildings.nl
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFDCuGN95NUnGFZm9cRAq6TAJwMEajligkD20AH06FtiSM67ruNRQCg1pm8
> 2L1ozOJs0fZ9HXfb/udmogs=
> =55Zn
> -----END PGP SIGNATURE-----
> 
> -- 
> Smarty Development Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Smarty Development Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php