in reply to Re: Re: Fast string hash in portable perl?
in thread Fast string hash in portable perl?

Not 32 bit? Then just run the B::hash on the MD5! Just kidding folks, just kidding!

You are exactly right on CRC32. I can't think of any case where CRC32 is really a good choice.

  • Comment on Re: Re: Re: Fast string hash in portable perl?

Replies are listed 'Best First'.
Re: Re: Re: Re: Fast string hash in portable perl?
by waswas-fng (Curate) on Dec 19, 2003 at 22:15 UTC
    CRC32 may be a great choice if you use it as the quick test for changes and then use a less collision prone (more time/cpu intensive) hash generator for a secondary test. Kind of what rsync does to speed up the block level checking.


    -Waswas