- MAX_METHODS::Int
- MAX_TUPLE_SPLAT::Int
- MAX_UNION_SPLITTING::Int
- function OptimizationParams(;
- inlining::Bool = inlining_enabled(),
- inline_cost_threshold::Int = 100,
- inline_nonleaf_penalty::Int = 1000,
- inline_tupleret_bonus::Int = 250,
- inline_error_path_cost::Int = 20,
- max_methods::Int = 3,
- tuple_splat::Int = 32,
- union_splitting::Int = 4,
- )
- return new(
- inlining,
- inline_cost_threshold,
- inline_nonleaf_penalty,
- inline_tupleret_bonus,
- inline_error_path_cost,
- max_methods,