commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <>
Subject Re: [lang] Hasher
Date Thu, 21 Nov 2002 21:08:02 GMT
[lang] already has a HashCodeBuilder that copes with generating fairly
ordinary cases. Are specialised hashcodes really that useful?

----- Original Message -----
From: "Ola Berg" <>
It is difficult with good hashing. But I am into giving a static utility
hashing class a try, since I think it is justified in lang. I experiment
with two approaches: bit mangling functions (a la Thomas Wang ) and lookup-tables
("buztables") like Robert Uzgalis

The buztable that Robert provides contains 256 long values, unbiased at the
bitlevel and collision free.

But I would like buztables for bytes, shorts/chars, and ints too. Do any of
you know a good method for generating them?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message