Gentee Programming Language > Documentation > Libraries | Download documentation |
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 hash.sethashsize( uint power )
power The power of two for calculating the size of the table.
Nonzero if initialization was successful; otherwise 0.
See alsoAssociative arrays - hash tables
![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |