From: "Stéphane Glondu" <steph@glondu.net>
To: Warren Harris <warren@metaweb.com>
Cc: caml-list caml-list <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] parameter passing optimizations
Date: Tue, 05 Aug 2008 19:28:16 +0200 [thread overview]
Message-ID: <48988DB0.1030104@glondu.net> (raw)
In-Reply-To: <9CA17B22-757C-4ED0-866C-4C44E73DB423@metaweb.com>
Warren Harris wrote:
> I've been wondering whether the ocaml compiler does any sort of
> parameter passing optimizations for data structures, e.g. stack
> allocating, or destructuring them when it can determine their scope does
> not escape the call. My first conclusion is that it does for tuples
> only, but I wanted to see what others might know.
Maybe you can check it out yourself with the -dinstr option of ocamlc,
or the -S option of ocamlopt.
Cheers,
--
Stéphane
prev parent reply other threads:[~2008-08-05 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-05 16:39 Warren Harris
2008-08-05 17:28 ` Stéphane Glondu [this message]
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=48988DB0.1030104@glondu.net \
--to=steph@glondu.net \
--cc=caml-list@yquem.inria.fr \
--cc=warren@metaweb.com \
/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