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
548 B
14 lines
548 B
define: DUK_USE_EXEC_FUN_LOCAL
|
|
introduced: 1.4.0
|
|
default: false
|
|
tags:
|
|
- performance
|
|
- execution
|
|
description: >
|
|
Use a local variable "fun" pointing to the current function in the bytecode
|
|
dispatch loop instead of looking up the current function through "thr" every
|
|
time it is needed. On x64 performance is slightly better without a "fun"
|
|
local; on x86 performance is slightly better with one.
|
|
|
|
You should only tweak this if you're really interested in performance, and
|
|
should then do proper testing to see which value works better.
|
|
|