wow, the link was already broken :)

llvm-svn: 32963
This commit is contained in:
Chris Lattner 2007-01-06 23:20:51 +00:00
parent 8a7183b5b8
commit dff39e53f1
1 changed files with 1 additions and 1 deletions

View 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++;