sebb wrote:

> On 9 October 2011 14:35, Jörg Schaible <joerg.schai...@gmx.de> wrote:
>> Hi Sebb,
>>
>> sebb wrote:

[snip]

>>> We know what it is used for, but why choose 4 rather than 3 or 42 or 1?
>>>
>>> Is it arbitrary? If so, what is the possible range?
>>> If not arbitrary, why choose 4?
>>
>> Kidding? An int has 32 bits in Java. Shifting by 42 gives ... 0 :D
> 
> 42 is the magic number in HHGTTG

OK, kidding. I didn't realize that this hash function might also give the 
answer to anything ... ;-)

[snip]

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to