MapInitHashTableΒΆ

MapInitHashTable initializes the hash table.

bool = MapInitHashTable(hMap, nSize)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hMap

hMap identifies the map.

nSize

nSize 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. Example-Prime-Numbers: 11, 13, 17, 53, 101, 211, 307, 401, 503, 601, 701, 809, 907, 5003, 9973.

id-364480