1. Re[3]: Hash function
- Posted by "Thomas Parslow (PatRat)" <tom at almostobsolete.net> Oct 10, 2002
- 416 views
> Thomas, > what will you be using the hash values for? Will it be for lookups or for data > validation (aka > CRC32)? > If for lookups, why the need for a 4-byte (#00000000 - #FFFFFFFF) range? > Is speed of hash calculation more important than spread of values? > Each of these factors (and others) will influence the choice of hashing > algorithm. > ----------- > Derek. Hi, I'm using the hash values for keys in a binary tree. The purpose of this tree is to check that a particular string has never been processed before. I'm using CRC32 atm and it seems to be working fine, are there any reasons for not using it that I should be aware of? Thomas Parslow (PatRat) E-Mail/Jabber: tom at almostobsolete.net ICQ: 26359483