package ocaml-base-compiler
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Official release 4.14.4
Install
dune-project
Dependency
Authors
Maintainers
Sources
ocaml_4.14.4.tar.gz
sha256=71415c000ebfce604defafaa584ab5ed10ad81ff180897db4e6fea8dac6e4b0d
doc/ocamloptcomp/Inlining_cost/index.html
Module Inlining_cost
Measurement of the cost (including cost in space) of Flambda terms in the context of inlining.
module Threshold : sig ... endval can_inline : Flambda.t -> Threshold.t -> bonus:int -> boolval can_try_inlining :
Flambda.t ->
Threshold.t ->
number_of_arguments:int ->
size_from_approximation:int option ->
Threshold.tmodule Benefit : sig ... endmodule Whether_sufficient_benefit : sig ... endIf a function body exceeds this size, we can make a fast decision not to inline it (see Inlining_decision).
val lambda_smaller' : Flambda.expr -> than:int -> int optionMeasure the given expression to determine whether its size is at or below the given threshold. None is returned if it is too big; otherwise Some is returned with the measured size.
val lambda_size : Flambda.expr -> int sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>