Data.Hashable can produce hashes differing little in their upper bits if only the last character of the string is changed. Because we were using the upper bits of the hash in shortHash, this could lead to avoidable hash collisions. This change includes minor simplification optimizations which surfaced this collision in the existing struct_ident_scope test.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
AlwaysKW.hs | Loading commit data... | |
AsgnOp.hs | Loading commit data... | |
Assertion.hs | Loading commit data... | |
BlockDecl.hs | Loading commit data... | |
Cast.hs | Loading commit data... | |
DimensionQuery.hs | Loading commit data... | |
DuplicateGenvar.hs | Loading commit data... | |
EmptyArgs.hs | Loading commit data... | |
Enum.hs | Loading commit data... | |
ExprUtils.hs | Loading commit data... | |
ForDecl.hs | Loading commit data... | |
Foreach.hs | Loading commit data... | |
FuncRet.hs | Loading commit data... | |
FuncRoutine.hs | Loading commit data... | |
HierConst.hs | Loading commit data... | |
ImplicitNet.hs | Loading commit data... | |
Inside.hs | Loading commit data... | |
IntTypes.hs | Loading commit data... | |
Interface.hs | Loading commit data... | |
Jump.hs | Loading commit data... | |
KWArgs.hs | Loading commit data... | |
LogOp.hs | Loading commit data... | |
Logic.hs | Loading commit data... | |
MultiplePacked.hs | Loading commit data... | |
NamedBlock.hs | Loading commit data... | |
Package.hs | Loading commit data... | |
ParamNoDefault.hs | Loading commit data... | |
ParamType.hs | Loading commit data... | |
RemoveComments.hs | Loading commit data... | |
ResolveBindings.hs | Loading commit data... | |
Scoper.hs | Loading commit data... | |
Simplify.hs | Loading commit data... | |
Stream.hs | Loading commit data... | |
StringParam.hs | Loading commit data... | |
Struct.hs | Loading commit data... | |
TFBlock.hs | Loading commit data... | |
Traverse.hs | Loading commit data... | |
TypeOf.hs | Loading commit data... | |
Typedef.hs | Loading commit data... | |
UnbasedUnsized.hs | Loading commit data... | |
Unique.hs | Loading commit data... | |
UnnamedGenBlock.hs | Loading commit data... | |
UnpackedArray.hs | Loading commit data... | |
Unsigned.hs | Loading commit data... | |
Wildcard.hs | Loading commit data... |