Re: [fastCache] Answers...
| From: | Pierre-Alain Joye | Date: | Tue, 23 Jul 2002 09:37:31 +0000 |
| Subject: | Re: [fastCache] Answers... | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7895@lists.php.net to get a copy of this message | ||
On 23 Jul 2002 11:21:16 +0200
MARTY Fabien <fabien.marty@free.fr> wrote:
> (Peter)
> > May I suggest a crc32() instead of md5()? It's between 3 and 10 times
> > faster, and there have been no duplicate values in a test to 1000000 items
> > (Source: Binarycloud-dev mailing list, originally from Smarty-dev).
>
> What about a choice between the two ?
I m not sure about the ratio :), but that s sure crc32 is faster, and under certain conditions
effectivly 10 times faster (dunno why :)).
And, crc32 is naturally the function to check data integrity.
+1 for crc :)
pa