BasicAliasDereferencingStrategy
public class BasicAliasDereferencingStrategy : AliasDereferencingStrategy
A AliasDereferencingStrategy which caches all values (even value-type values) in a Dictionary, keyed by their Anchor. For reference types, this strategy achieves reference coalescing For value types, this strategy achieves short-cutting the decoding process when dereferencing aliases. if the aliased structure is large, this may result in a time savings
-
Create a new BasicAliasDereferencingStrategy
Declaration
Swift
public init()
-
get and set cached references, keyed bo an Anchor
Declaration
Swift
public subscript(key: Anchor) -> Value? { get set }