diff options
author | Timothy Arceri <t_arceri@yahoo.com.au> | 2014-11-25 15:23:15 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-11-25 15:23:30 -0800 |
commit | 2f56d34cbe834ebacb89a9551daf4b3ba78fc7a8 (patch) | |
tree | e88f47870e57a37e8f5dd22c7212d7a01e554c12 | |
parent | 0966e262e6c802dd142e8949de578148e6c395d5 (diff) |
Note that the hash used is actually FNV-1a.
FNV-1 has the XOR and the MUL in the opposite order.
-rw-r--r-- | fnv_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,10 +24,10 @@ * Eric Anholt <eric@anholt.net> */ -/* Quick FNV-1 hash implementation based on: +/* Quick FNV-1a hash implementation based on: * http://www.isthe.com/chongo/tech/comp/fnv/ * - * FNV-1 may not be the best hash out there -- Jenkins's lookup3 is supposed + * FNV-1a may not be the best hash out there -- Jenkins's lookup3 is supposed * to be quite good, and it may beat FNV. But FNV has the advantage that it * involves almost no code. */ |