hash.sethashsize
Set the size of a value table. Set the size of the value table for searching for keys. The method must be called before any items are added. The parameter contains the power of two for calculating the size of the table since the number of items must be the power of two. By default, the size of a table is 4096 items.
uint power
)
Parameters
power | The power of two for calculating the size of the table. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |