diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-06 23:20:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-06 23:20:51 +0000 |
commit | 41a4429f6586ce648ba29fbd33bfed433005c3da (patch) | |
tree | 68d418bc39d771b914c328aef190a08919047af1 /lib/Support | |
parent | 38742b9603858db660cbb6b67853ca9266eaa196 (diff) | |
download | external_llvm-41a4429f6586ce648ba29fbd33bfed433005c3da.zip external_llvm-41a4429f6586ce648ba29fbd33bfed433005c3da.tar.gz external_llvm-41a4429f6586ce648ba29fbd33bfed433005c3da.tar.bz2 |
wow, the link was already broken :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/CStringMap.cpp | 2 | ||||
-rw-r--r-- | lib/Support/StringMap.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/CStringMap.cpp b/lib/Support/CStringMap.cpp index 6cd3745..31b50d2 100644 --- a/lib/Support/CStringMap.cpp +++ b/lib/Support/CStringMap.cpp @@ -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++; diff --git a/lib/Support/StringMap.cpp b/lib/Support/StringMap.cpp index 6cd3745..31b50d2 100644 --- a/lib/Support/StringMap.cpp +++ b/lib/Support/StringMap.cpp @@ -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++; |