Optimization with -inline n

From: John Prevost (prevost@maya.com)
Date: Thu Jan 28 1999 - 10:58:42 MET


To: caml-list@inria.fr
Subject: Optimization with -inline n
From: John Prevost <prevost@maya.com>
Date: 28 Jan 1999 04:58:42 -0500

In what circumstances will ocamlopt -inline n put a function in-line?
I was just trying it to see what effect it could have on my monadic
parsing libraries, but it didn't seem to have much effect, whereas my
inlining by hand did. I take this to mean that it does not, at least,
cross module boundaries.

When should I expect to see ocamlopt inlining functions?

jmp



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:18 MET