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
447 B
14 lines
447 B
9 years ago
|
define: DUK_USE_HSTRING_CLEN
|
||
|
introduced: 1.5.0
|
||
|
default: true
|
||
|
tags:
|
||
|
- lowmemory
|
||
|
- experimental
|
||
|
description: >
|
||
|
When DUK_USE_STRLEN16 enabled, indicates whether the character length
|
||
|
(clen16) field should be actually present (default) or computed on-the-fly.
|
||
|
|
||
|
When clen is computed on-the-fly the duk_hstring structure will be 4 bytes
|
||
|
smaller (from 10 bytes + 2 bytes padding to 8 bytes) which may be useful for
|
||
|
very low memory targets.
|