Animancer v6.0 is currently available for testing.

FastComparer Class

Summary

An System.Collections.Generic.IEqualityComparer`1 which ignores overloaded equality operators so it is faster than System.Collections.Generic.EqualityComparer`1.Default for types derived from UnityEngine.Object.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
  • IEqualityComparer<Object>
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IEqualityComparer<Object>"] Type["FastComparer"] class Type type-node

Syntax

public sealed class FastComparer : IEqualityComparer<Object>

Remarks

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

Documentation: Performance

Fields

Name Constant Value Summary
Instance
Singleton instance.
static