IntControl 100

Syntax:

IntControl(100, p1, 0, 0, 0)

 

Sets the minimum lookup table size for subsequently created WIL maps.

p1  specifies the new minimum lookup table size.

IntControl 100 returns the previous minimum lookup table size.

In normal usage the default minimum lookup table size is sufficient and the table size is automatically adjusted for best performance when a WIL map is created using MapFileGetCsv or MapCreate with the key-values pair parameter.  However, when adding a significant number of key-value pairs to an existing map, specifying a larger table size before the map is created can improve both insertion and lookup performance of the WIL map.  If you specify value less than the lookup table minimum or maximum sizes, the IntControl will set the size to the appropriate minimum or maximum.

Note that the lookup size does not limit the number of key-value pairs that can be stored in a WIL map and using too large a size may reduce overall performance of your script.