TFPCustomHashTable.LoadFactor¶
Fraction of count versus size.
Declaration¶
Source position: contnrs.pp line 407
public property LoadFactor: Double;
Description¶
LoadFactor is the ratio of elements in the table versus table size. Ideally, this should be as small as possible.
See also¶
| Name | Description |
|---|---|
| TFPCustomHashTable.IsEmpty | Check if the hash table is empty. |
| TFPCustomHashTable.Count | Number of items in the hash table. |
| TFPCustomHashTable.AVGChainLen | Average chain length. |
| TFPCustomHashTable.MaxChainLength | Maximum chain length. |
| TFPCustomHashTable.VoidSlots | Number of empty slots in the hash table. |
| TFPCustomHashTable.Density | Number of filled slots. |
| TFPCustomHashTable.NumberOfCollisions | Number of extra items. |