[compiler-hacking] @inline attribute?
Jeremie Dimino
jdimino at janestreet.com
Thu Oct 30 16:15:28 GMT 2014
On Thu, Oct 30, 2014 at 2:42 PM, Leo White <lpw25 at cam.ac.uk> wrote:
> I'd like it to go one step further and give a warning or error if
> inlining could not be done for some reason (e.g. .cmx file not
> present). I think this is very much inline with OCaml's philosophy of
> predictable performance -- rather than just hope that the compiler
> inlines something I can be certain of it.
>
Agreed. And an opposite attribute to ensure a function is not inlined would
be useful too.
--
Jeremie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ocaml.org/pipermail/cam-compiler-hacking/attachments/20141030/7b4d3193/attachment.html>
More information about the Cam-compiler-hacking
mailing list