OptimizerConfig

sealed trait OptimizerConfig

An object describing how to configure the Scala Native Optimizer.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

The maximum number of instructions allowed in the inlined function

The maximum number of instructions allowed in the inlined function

The maximum number of instructions allowed in the caller function

The maximum number of instructions allowed in the caller function

The maximum inline depth during the optimization phase.

The maximum inline depth during the optimization phase.

The maximum number of instructions defined in function classifing it as a small function. Small functions are always treated as inlining candidates when release mode is being used.

The maximum number of instructions defined in function classifing it as a small function. Small functions are always treated as inlining candidates when release mode is being used.

Create a new config with the max callee size.

Create a new config with the max callee size.

Create a new config with the max caller size.

Create a new config with the max caller size.

Create a new config with the given max inline depth.

Create a new config with the given max inline depth.

Create a new config with the small function size.

Create a new config with the small function size.