Method Yabu.LookupDB()->create()
- Method
create
Yabu.LookupDB Yabu.LookupDB(
string
dir
,string
mode
,mapping
|void
options
)- Description
Construct a new lookup table.
The
options
, if present, can be used to specify the index hash size. The bigger that number is, the less memory will be used given a certain number of actual keys. In general, using the expected number of entries in the database divided by 100-1000 is reasonable.The supported options are
index_size
:int(1..)