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.
26 lines
1.0 KiB
26 lines
1.0 KiB
# Base configuration for performance sensitive environments, see
|
|
# doc/performance-sensitive.rst.
|
|
|
|
# You should choose the fastest setjmp/longjmp for your platform.
|
|
|
|
DUK_USE_PREFER_SIZE: false
|
|
DUK_USE_PACKED_TVAL: false # packed duk_tval slower in most cases
|
|
DUK_USE_FASTINT: true
|
|
DUK_USE_VALSTACK_UNSAFE: true
|
|
DUK_USE_FAST_REFCOUNT_DEFAULT: true
|
|
DUK_USE_JSON_STRINGIFY_FASTPATH: true # not fully portable right now
|
|
DUK_USE_JSON_QUOTESTRING_FASTPATH: true
|
|
DUK_USE_JSON_DECSTRING_FASTPATH: true
|
|
DUK_USE_JSON_DECNUMBER_FASTPATH: true
|
|
DUK_USE_JSON_EATWHITE_FASTPATH: true
|
|
DUK_USE_BASE64_FASTPATH: true
|
|
DUK_USE_HEX_FASTPATH: true
|
|
DUK_USE_IDCHAR_FASTPATH: true
|
|
DUK_USE_ARRAY_PROP_FASTPATH: true
|
|
DUK_USE_ARRAY_FASTPATH: true
|
|
DUK_USE_INTERRUPT_COUNTER: false
|
|
DUK_USE_DEBUGGER_SUPPORT: false
|
|
DUK_USE_STRHASH_DENSE: false
|
|
DUK_USE_STRHASH_SKIP_SHIFT: 5 # may be able to reduce
|
|
#DUK_USE_EXEC_FUN_LOCAL: false # test both values, marginal benefit
|
|
DUK_USE_REGEXP_CANON_WORKAROUND: true # high footprint impact (128kB), enabled until a better solution
|
|
|