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.
12 lines
425 B
12 lines
425 B
define: DUK_USE_STRHASH_SKIP_SHIFT
|
|
introduced: 1.4.0
|
|
default: 5
|
|
tags:
|
|
- performance
|
|
description: >
|
|
Shift value to use for string hash skip offset when using the default
|
|
(fast) string hash. The skip offset is calculated as:
|
|
((length >> DUK_USE_STRHASH_SKIP_SHIFT) + 1). A higher value will be
|
|
slower but sample the string more densely.
|
|
|
|
You should only change this if you run into issues with the default value.
|
|
|