Share via


HashCompare.FastCompareTuple2<'T1,'T2> Function (F#)

A primitive entry point used by the F# compiler for optimization purposes.

Namespace/Module Path: Microsoft.FSharp.Core.LanguagePrimitives.HashCompare

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
FastCompareTuple2 : IComparer -> 'T1 * 'T2 -> 'T1 * 'T2 -> int

// Usage:
FastCompareTuple2 comparer tuple1 tuple2

Parameters

  • comparer
    Type: IComparer

    The comparer object.

  • tuple1
    Type: 'T1 * 'T2

    The first tuple of two elements.

  • tuple2
    Type: 'T1 * 'T2

    The second tuple of two elements.

Return Value

The result of the comparison.

Remarks

This function is for use by compiled F# code and should not be used directly.

Platforms

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

LanguagePrimitives.HashCompare Module (F#)

Core.LanguagePrimitives Module (F#)