Re[3]: Hash function

new topic     » topic index » view thread      » older message » newer message

> 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

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu