caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Quôc Peyrot" <chojin@lrde.epita.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Function inlining and functor
Date: Mon, 25 Jun 2007 19:04:46 +0200	[thread overview]
Message-ID: <5DCFC41E-33A9-47A4-BFBE-3070297ABDB7@lrde.epita.fr> (raw)
In-Reply-To: <200706251658.04780.jon@ffconsultancy.com>


On Jun 25, 2007, at 5:58 PM, Jon Harrop wrote:

> On Monday 25 June 2007 16:50:03 Quôc 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.

I see, thanks,

of course I have to concur with this conclusion as well ;)

PS: I just tried to read the code for inlining in the compiler, to  
have some
idea how complicated it is, but of course, without much exposure I
couldn't make sense of what I was reading.
Is there any "Hacking" doc for the compiler somewhere?

-- 
Best Regards,
Quôc



  reply	other threads:[~2007-06-25 17:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 14:39 Quôc Peyrot
2007-06-25 15:22 ` [Caml-list] " Jon Harrop
2007-06-25 15:36   ` Joel Reymont
2007-06-25 15:41     ` Basile STARYNKEVITCH
2007-06-25 15:50       ` Quôc Peyrot
2007-06-25 15:58         ` Jon Harrop
2007-06-25 17:04           ` Quôc Peyrot [this message]
2007-06-26  3:22             ` Jon Harrop
2007-06-25 16:07     ` Jon Harrop
2007-06-25 20:11       ` Joel Reymont
2007-06-26  3:22         ` Jon Harrop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5DCFC41E-33A9-47A4-BFBE-3070297ABDB7@lrde.epita.fr \
    --to=chojin@lrde.epita.fr \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).