Reduce capacity to current number of entries.
TrimExcess changes the capacity to the number of dictionary entries, held in Count.
This method rehashes the internal hash table to save space. This is only useful after a lot of items have been deleted from the dictionary.
Namespace: RSGenerics.Collections
Delphi |
public |