Re: [PATCH] Re: today's futex changes

Jamie Lokier
2003-09-08T18:26:32Z

Jamie Lokier wrote:
> It is probably worth adding a jhash_3longs() to jhash.h, which does
> one call to __hash_mix() on 32-bit, two calls on 64-bit, and avoids
> the loop in both cases.

Bob Jenkins has a 64-bit version of the mixing function, which we
aren't using. It would be better to use a single iteration of that in
jhash_3longs().

See:
http://burtleburtle.net/bob/hash/evahash.html#hash64

-- Jamie