Do you know where your variables are? | |
PerlMonks |
Re: Hashing urls with Adler32by BrowserUk (Patriarch) |
on Jun 01, 2007 at 08:28 UTC ( [id://618669]=note: print w/replies, xml ) | Need Help?? |
A final word. Don't use Alder32 (alone) for this purpose! Running Adler, CRC32 and both on several sets of 1 million randomly generated url-like strings ranging from 16 to 128 characters in length, Adler produced duplicates in ~1% of cases; CRC32 produced ~0.2%; and in several runs the combination of both found just 2 duplicates (circa. 0.002% but not enough samples to be judged representative). Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|