mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
406 B
14 lines
406 B
8 years ago
|
define: DUK_USE_STRTAB_MAXSIZE
|
||
|
introduced: 2.1.0
|
||
|
default: 268435456
|
||
|
tags:
|
||
|
- performance
|
||
|
- lowmemory
|
||
|
description: >
|
||
|
Maximum size for Duktape heap string table, must be 2^N, and small enough
|
||
|
so that if the value is multiplied by sizeof(duk_hstring *) it won't overflow
|
||
|
duk_size_t.
|
||
|
|
||
|
To avoid resizing the strtable at all, set DUK_USE_STRTAB_MINSIZE and
|
||
|
DUK_USE_STRTAB_MAXSIZE to the same value.
|