aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/hash_table.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2014-11-18 21:58:11 +1100
committerTimothy Arceri <[email protected]>2014-11-26 20:04:13 +1100
commitb3721cd230453c19e16d5f696e8001cdcf8ff6b2 (patch)
tree0625f9c1b333b906ab3e7c0697f4c9eb33703fc7 /src/util/hash_table.c
parent531feec9dc4680046f21c517d13312c7df7b7619 (diff)
util: update hash type comments
Signed-off-by: Timothy Arceri <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/util/hash_table.c')
-rw-r--r--src/util/hash_table.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/util/hash_table.c b/src/util/hash_table.c
index 1b6726c79a9..920bdfd3317 100644
--- a/src/util/hash_table.c
+++ b/src/util/hash_table.c
@@ -385,12 +385,12 @@ _mesa_hash_table_random_entry(struct hash_table *ht,
/**
- * Quick FNV-1 hash implementation based on:
+ * Quick FNV-1a hash implementation based on:
* http://www.isthe.com/chongo/tech/comp/fnv/
*
- * FNV-1 is not be the best hash out there -- Jenkins's lookup3 is supposed to
- * be quite good, and it probably beats FNV. But FNV has the advantage that
- * it involves almost no code. For an improvement on both, see Paul
+ * FNV-1a is not be the best hash out there -- Jenkins's lookup3 is supposed
+ * to be quite good, and it probably beats FNV. But FNV has the advantage
+ * that it involves almost no code. For an improvement on both, see Paul
* Hsieh's http://www.azillionmonkeys.com/qed/hash.html
*/
uint32_t
@@ -408,7 +408,7 @@ _mesa_hash_data(const void *data, size_t size)
return hash;
}
-/** FNV-1 string hash implementation */
+/** FNV-1a string hash implementation */
uint32_t
_mesa_hash_string(const char *key)
{