Messages in this thread | | | Date | Mon, 8 Sep 2003 19:26:03 +0100 | From | Jamie Lokier <> | Subject | Re: [PATCH] Re: today's futex changes |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |