CMap::InitHashTable

Call this member function to initialize 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.

Syntax

void InitHashTable( UINT hashSize );

At a Glance

Header file: Afxtempl.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CMap Overview, CMap Member Functions, Map Classes, CMap::GetHashTableSize