XojoScript.OptimizationLevels

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Enumeration
XojoScript.OptimizationLevels

New in 2013r1

XojoScript compiler optimization levels used by the PreCompile method.

Values

Enum Description
None No optimizations will be performed and the script will be compiled lazily (a JIT). Your script will start quickly, but will run more slowly than the other two optimization levels. This is the default if you do not precompile before calling Run.
Low The script will be compiled up front, but few optimizations will be applied. It will take longer for your script to start, but it will run more quickly.
High The script will be compiled up front and all possible optimizations will be applied. This will take the most time to compile the script, but it will run the quickest.