diff options
author | root <root@mentat.kfki.hu> | 2009-02-10 15:42:13 +0100 |
---|---|---|
committer | root <root@mentat.kfki.hu> | 2009-02-10 15:42:13 +0100 |
commit | 7af32c4180f419379a3c43507f3f879d98044583 (patch) | |
tree | 95861cc2333eb2a7763e77d8a01bc5fa126e7615 /kernel/ip_set.c | |
parent | 08b3df85d107b2ae58a7a264bcdb1480b29acf98 (diff) |
Jenkins' hash updated
The old lookup2() Jenkins' hash is outdated, there is a new version called
lookup3() which
- mixes better than lookup2(): passes the check that every input bit changes
every output bit 50% of the time - lookup2() failed it.
- performs better: compiled with -O2 on Core2 Duo, lookup3() 20-40% faster
than lookup2() depending on the key length.
The patch replaces the lookup2() implementation of 'jhash*' with that of
lookup3().
Diffstat (limited to 'kernel/ip_set.c')
0 files changed, 0 insertions, 0 deletions