Skip to content

hashString in Data.HashTable bad hash function

hashString in Data.!HashTable is a bad hash function - it seems to only give numbers between 0 and 120, and has odd properties such as any string ending in "aaaaaaa" seems to hash to 70.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information