Navigation

Operators and Keywords

Function List:

C++ API

: val = jit_startcnt ()
: old_val = jit_startcnt (new_val)
: jit_startcnt (new_val, "local")

Query or set the internal variable that determines whether JIT compilation will take place for a specific loop.

Because compilation is a costly operation it does not make sense to employ JIT when the loop count is low. By default only loops with greater than 1000 iterations will be accelerated.

When called from inside a function with the "local" option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.

See also: jit_enable, jit_failcnt, debug_jit.

Package: octave