Browse Source

Config options for hex enc/dec fastpath

pull/467/head
Sami Vaarala 9 years ago
parent
commit
03a77e2051
  1. 10
      config/config-options/DUK_USE_HEX_FASTPATH.yaml
  2. 1
      config/examples/low_memory.yaml
  3. 1
      config/examples/performance_sensitive.yaml

10
config/config-options/DUK_USE_HEX_FASTPATH.yaml

@ -0,0 +1,10 @@
define: DUK_USE_HEX_FASTPATH
introduced: 1.4.0
default: true
tags:
- performance
- fastpath
- lowmemory
description: >
Enable fast path for hex encode/decode. The fast path uses a lookup
table at a small cost in footprint.

1
config/examples/low_memory.yaml

@ -26,6 +26,7 @@ DUK_USE_JSON_DECSTRING_FASTPATH: false
DUK_USE_JSON_DECNUMBER_FASTPATH: false DUK_USE_JSON_DECNUMBER_FASTPATH: false
DUK_USE_JSON_EATWHITE_FASTPATH: false DUK_USE_JSON_EATWHITE_FASTPATH: false
DUK_USE_BASE64_FASTPATH: false DUK_USE_BASE64_FASTPATH: false
DUK_USE_HEX_FASTPATH: false
DUK_USE_BYTECODE_DUMP_SUPPORT: false DUK_USE_BYTECODE_DUMP_SUPPORT: false
DUK_USE_JX: false DUK_USE_JX: false
DUK_USE_JC: false DUK_USE_JC: false

1
config/examples/performance_sensitive.yaml

@ -14,6 +14,7 @@ DUK_USE_JSON_DECSTRING_FASTPATH: true
DUK_USE_JSON_DECNUMBER_FASTPATH: true DUK_USE_JSON_DECNUMBER_FASTPATH: true
DUK_USE_JSON_EATWHITE_FASTPATH: true DUK_USE_JSON_EATWHITE_FASTPATH: true
DUK_USE_BASE64_FASTPATH: true DUK_USE_BASE64_FASTPATH: true
DUK_USE_HEX_FASTPATH: true
DUK_USE_INTERRUPT_COUNTER: false DUK_USE_INTERRUPT_COUNTER: false
DUK_USE_DEBUGGER_SUPPORT: false DUK_USE_DEBUGGER_SUPPORT: false
DUK_USE_STRHASH_DENSE: false DUK_USE_STRHASH_DENSE: false

Loading…
Cancel
Save