From: Sean McLaughlin <seanmcl@cmu.edu>
To: caml-list@inria.fr
Subject: optimizing trivial functions
Date: Tue, 21 Nov 2006 18:20:41 -0500 [thread overview]
Message-ID: <6BDD3772-05B7-41DD-B36C-B2CBB0D4B388@cmu.edu> (raw)
Hello,
Will the Ocaml compiler optimize the following code to let y = ()?
I'm designing a program that will depend heavily on whether this code
is optimized in this way.
let f x1 x2 ... x100 = ()
let y = f x1 ... x100
Thanks,
Sean
next reply other threads:[~2006-11-21 23:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-21 23:20 Sean McLaughlin [this message]
2006-11-26 13:36 ` [Caml-list] " Sean McLaughlin
2006-11-27 12:00 ` Dmitry Bely
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=6BDD3772-05B7-41DD-B36C-B2CBB0D4B388@cmu.edu \
--to=seanmcl@cmu.edu \
--cc=caml-list@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