]> sourceware.org Git - lvm2.git/commit
hash: replace hash with better function
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Mar 2021 14:18:04 +0000 (15:18 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Mar 2021 14:33:15 +0000 (15:33 +0100)
commitff21723512cb633c741e516381899f70e0d9ef2a
tree90dbce439b8cf087cdf6661e4e635ed2a17a566f
parentd602837b91ceb2a47e6d4d10c34ef90e6f26b17a
hash: replace hash with better function

Add Bob Jenkins hash function to get better working hash function,
which does genarate way less colisions (especially with similar
strings).

For a comparision also a kernel function used in DM kernel is include.
While it's better then our existing one, it's still far worse,
then Bob Jenkins hash.
base/data-struct/hash.c
This page took 0.035285 seconds and 5 git commands to generate.