Language Reference Guide : 4. System Classes : HashTable Class : AutoResizeThreshold Attribute
 
Share this page                  
AutoResizeThreshold Attribute
Data Type: integer
4GL Access: R
This attribute represents the size threshold as a percentage (ObjectCount*100/size), above which the hash table will automatically be resized. The new size will be 2*size+1.
For example, if AutoResizeThreshold is set to 75, the hash table will be increased in size when the number of objects entered (ObjectCount) exceeds 75% of the size of the hash table.
A value of 0 (zero) indicates that the hash table should not be automatically resized.
This information is configured with the Setup() method of IntegerHashTable Class or StringHashTable Class.