Version franaise
Home About Download Resources Contact us
Browse thread
Function inlining and functor
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Function inlining and functor
On Monday 25 June 2007 16:50:03 Quc Peyrot wrote:
> But in the functor example, what is missing during the compilation to
> be able to inline it?

The thing that is missing is the code in the OCaml compiler than inlines these 
function calls. :-)

This was one of the demands on the "what optimizations would we like" list 
that was discussed here recently.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
The OCaml Journal
http://www.ffconsultancy.com/products/ocaml_journal/?e