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.
void InitHashTable( UINT hashSize );
| Header file: | Afxtempl.h | 
| Platforms: | |
| Versions: | 1.0 and later | 
| Complete documentation: | Visual C++ documentation | 
CMap Overview, CMap Member Functions, Map Classes, CMap::GetHashTableSize