forked from bartvdbraak/blender
Bugfix: Small change to hash algorithm hinted by James Ruan on mailing list to
make hash distribution a little bit better.
This commit is contained in:
parent
0246caf513
commit
1e816635b0
@ -68,7 +68,7 @@ static unsigned int HashHash(void *key_)
|
||||
|
||||
rval ^= *(unsigned int*) &key->cfra;
|
||||
rval += key->type;
|
||||
rval ^= (unsigned int) key->seq;
|
||||
rval ^= ((unsigned int) key->seq) << 6;
|
||||
|
||||
return rval;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user