Creates a new StringTable with the default capacity and the default maximum load factor.
[Visual Basic] Overloads Public Sub New() [C#] public StringTable(); [C++] public: StringTable(); [JScript] public function StringTable();
The capacity of a StringTable is the number of elements it can contain. The default initial capacity is 11. Capacity is increased as the number of buckets is increased based on the load factor.
The maximum load factor is the maximum ratio of elements to buckets. A smaller load factor means faster lookup at the cost of increased memory consumption. The default maximum load factor is 0.73, which is the best balance between speed and size.
When the actual load factor reaches the maximum load factor, the number of buckets is automatically increased to the smallest prime number that is larger than twice the current number of buckets.
StringTable Class | StringTable Members | System.Collections Namespace | StringTable Constructor Overload List