Enum gccjit::OptimizationLevel [] [src]

#[repr(C)]
pub enum OptimizationLevel { None, Limited, Standard, Aggressive, }

Represents an optimization level that the JIT compiler will use when compiling your code.

Variants

No optimizations are applied.

Optimizies for both speed and code size, but doesn't apply any optimizations that take extended periods of time.

Performs all optimizations that do not involve a tradeoff of code size for speed.

Performs all optimizations at the Standard level, as well as function inlining, loop vectorization, some loop unrolling, and various other optimizations.