CMap::InitHashTable

void InitHashTable( UINT hashSize );

Parameters

hashSize

Number of entries in the hash table.

Remarks

Initializes the hash table. For best performance, the hash table size should be a prime number. To minimize collisions the size should be roughly 20 percent larger than the largest anticipated data set.

CMap OverviewClass MembersHierarchy Chart

See Also   CMap::GetHashTableSize