Animancer v6.0 is currently available for testing.

FastReferenceComparer Class

Summary

An System.Collections.Generic.IEqualityComparer`1 which uses System.Object.ReferenceEquals(System.Object,System.Object) to be even faster than Animancer.FastComparer. Unfortunately this means it will not work for boxed value types (such as enums).
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
  • IEqualityComparer<Object>
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEqualityComparer<Object>"] Type["FastReferenceComparer"] class Type type-node

Syntax

public sealed class FastReferenceComparer : IEqualityComparer<Object>

Remarks

This class is used when Animancer.AnimancerPlayable.StateDictionary.ReferenceKeysOnly is true.

Documentation: Performance

Fields

Name Constant Value Summary
Instance
Singleton instance.
static