Closed
Description
PbList.hashcode intends to implement the Jenkins hash function. However, in lines like this it is adding before applying the bit shift. Instead of (hash + hash << 10)
it should be something like (hash + (hash << 10))
.
It was also suggested offline that we should change (...) & 0x3fffffff to 0x3fffffff & (...) , though I don't fully understand why.