.. highlightlang:: us .. index:: MapInitHashTable .. _mapinithashtable: MapInitHashTable ================ .. us.tag MapInitHashTable NOTREADYENGLISH Map_Set :ref:`MapInitHashTable` initializes the hash table. .. function:: bool = MapInitHashTable(hMap, nSize) .. us.return **Return Value** If the function succeeds, the return value *bool* is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hMap *hMap* identifies the map. .. uparam:: 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. .. seealso:: :ref:`overview-map`, :ref:`MapCreate` :sub:`id-364480`