Click or drag to resize

CondensedCollectionTReclaimableInternsCount Property

[This is preliminary documentation and is subject to change.]

Gets count of unused items in the collection's intern pool that would be freed (made eligible for GC) by a cleanup operation, or -1 if the collection has cutover and is no longer performing deduplication.

Namespace:  Condensed
Assembly:  Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
public int ReclaimableInternsCount { get; }

Property Value

Type: Int32
Remarks

The CondensedCollectionT does not automatically reclaim values from the intern pool. A high ReclaimableInternsCount value indicates that many values being held in the pool are no longer being used by the CondensedCollection. Call Cleanup as needed to reclaim memory from the intern pool or subscribe to the InternedValueReclaimable event.

The ReclaimableInternsCount property is equivalent to subtracting the UniqueCount property from the InternPoolCount property.

See Also