OVMS3/OVMS.V3/components/duktape/config/config-options/DUK_USE_VALSTACK_GROW_SHIFT.yaml

14 lines
528 B
YAML

define: DUK_USE_VALSTACK_GROW_SHIFT
introduced: 2.2.0
default: 2
tags:
- performance
- lowmemory
description: >
When growing the value stack, shift minimum size right by this amount to
come up with a slack which is allocated on top of the minimum required
size. The slack increases memory usage a bit, but reduces value stack
reallocations when the minimum size grows. A value of 2 means that a
25% slack is used. Undefine to remove any slack, value stack is then
always grown by the minimum amount possible.