wow, the link was already broken :)
authorChris Lattner <sabre@nondot.org>
Sat, 6 Jan 2007 23:20:51 +0000 (23:20 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Jan 2007 23:20:51 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32963 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/CStringMap.cpp
lib/Support/StringMap.cpp

index 6cd3745946c23e9d39a2e26714e5c9c63bdfed5a..31b50d2f154f63d14e725f434b06145baf70f37a 100644 (file)
@@ -36,7 +36,7 @@ static unsigned HashString(const char *Start, const char *End) {
   // Bernstein hash function.
   unsigned int Result = 0;
   // TODO: investigate whether a modified bernstein hash function performs
-  // better: http://eternallyconfuzzled.com/tuts/hashing.html#existing
+  // better: http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx
   //   X*33+c -> X*33^c
   while (Start != End)
     Result = Result * 33 + *Start++;
index 6cd3745946c23e9d39a2e26714e5c9c63bdfed5a..31b50d2f154f63d14e725f434b06145baf70f37a 100644 (file)
@@ -36,7 +36,7 @@ static unsigned HashString(const char *Start, const char *End) {
   // Bernstein hash function.
   unsigned int Result = 0;
   // TODO: investigate whether a modified bernstein hash function performs
-  // better: http://eternallyconfuzzled.com/tuts/hashing.html#existing
+  // better: http://eternallyconfuzzled.com/tuts/algorithms/jsw_tut_hashing.aspx
   //   X*33+c -> X*33^c
   while (Start != End)
     Result = Result * 33 + *Start++;