Skip to content

Commit

Permalink
tweak scale constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Keryan-dev committed Nov 9, 2021
1 parent 98e674e commit 1363d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middle_end/flambda2/from_lambda/closure_conversion.ml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ module Inlining = struct
Clflags.Float_arg_helper.get ~key:0 !Clflags.inline_threshold
in
(* CR keryan: should probably tweak this value *)
let magic_scale_constant = 10. in
let magic_scale_constant = 8. in
int_of_float (inline_threshold *. magic_scale_constant)

(* CR keryan: we need to emit warnings *)
Expand Down

0 comments on commit 1363d06

Please sign in to comment.