Skip to content

Commit

Permalink
set default max_methods to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Jun 9, 2020
1 parent a51015c commit 3890d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/compiler/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ struct OptimizationParams
inline_cost_threshold::Int = 100,
inline_nonleaf_penalty::Int = 1000,
inline_tupleret_bonus::Int = 400,
max_methods::Int = 4,
max_methods::Int = 3,
tuple_splat::Int = 32,
union_splitting::Int = 4,
)
Expand Down Expand Up @@ -107,7 +107,7 @@ struct InferenceParams
function InferenceParams(;
ipo_constant_propagation::Bool = true,
aggressive_constant_propagation::Bool = false,
max_methods::Int = 4,
max_methods::Int = 3,
union_splitting::Int = 4,
apply_union_enum::Int = 8,
tupletype_depth::Int = 3,
Expand Down

0 comments on commit 3890d1d

Please sign in to comment.