[<<][packetforth][>>][..]
Thu Jul 9 16:59:27 CEST 2009

removing hash.c

It's not used, and it relies on 32bit ints so let's just take it out.

{
    unsigned int knuth_magic = 2654435761U; /* see http://www.concentric.net/~Ttwang/tech/inthash.htm */
    unsigned int k = ((unsigned int)key) >> HASH_SHIFT;
    k *= knuth_magic;
    k &= (1 << x->logsize) - 1;
    return k;
}



[Reply][About]
[<<][packetforth][>>][..]