[Home] Module Microsoft.FSharp.Collections.HashIdentity


Common notions of value identity used with hash tables.

Values

ValueDescription
val FromFunctions :
  ('key -> int) -> ('key -> 'key -> bool) -> IEqualityComparer<'key>
Hash using the given hashing and equality functions
val Reference<'key> : IEqualityComparer<'key>
Physical hashing (hash on reference identity of objects, and the contents of value types). Hash using LanguagePrimitives.PhysicalEquality and LanguagePrimitives.PhysicalHash, That is, for value types use GetHashCode and Object.Equals (if no other optimization available), and for reference types use System.Runtime.CompilerServices.RuntimeHelpers.GetHashCode and reference equality.
val Structural<'key> : IEqualityComparer<'key>
Structural hashing. Hash using Operators.(=) and Operators.hash.

See Also

Microsoft.FSharp.Collections


Documentation for assembly FSharp.Core, version 1.9.6.0, generated using F# Programming Language version 1.9.6.0