ThreadSafeHashSetTTrimExcess Method

Forces to perform a merge while removing all possibly allocated but already deleted entries from the lock-free storage, even if the PreserveMergedItems property is .
See the Remarks section of the PreserveMergedItems property for details.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public void TrimExcess()

See Also