Skip to content

Commit 3890d1d

Browse files
committed
set default max_methods to 3
1 parent a51015c commit 3890d1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/compiler/types.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct OptimizationParams
5858
inline_cost_threshold::Int = 100,
5959
inline_nonleaf_penalty::Int = 1000,
6060
inline_tupleret_bonus::Int = 400,
61-
max_methods::Int = 4,
61+
max_methods::Int = 3,
6262
tuple_splat::Int = 32,
6363
union_splitting::Int = 4,
6464
)
@@ -107,7 +107,7 @@ struct InferenceParams
107107
function InferenceParams(;
108108
ipo_constant_propagation::Bool = true,
109109
aggressive_constant_propagation::Bool = false,
110-
max_methods::Int = 4,
110+
max_methods::Int = 3,
111111
union_splitting::Int = 4,
112112
apply_union_enum::Int = 8,
113113
tupletype_depth::Int = 3,

0 commit comments

Comments
 (0)