caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Martin Jambon <martin_jambon@emailuser.net>
To: Shawn Wagner <shawnw@speakeasy.org>
Cc: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] Conditional Compilation (was mod_caml Makefile)
Date: Sat, 17 Apr 2004 16:46:26 +0800 (HKT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0404171645080.1295-100000@localhost> (raw)
In-Reply-To: <20040417003951.GB848@speakeasy.org>

On Fri, 16 Apr 2004, Shawn Wagner wrote:

> On a related note, do either of the ocaml compilers do any dead code
> elimination?
>
> Things like not emitting any instructions for the else branch of
>
> let foo = true in
>  if foo then do_something else do_something_different

ocamlopt at least. Try ocamlopt -S.


Martin

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2004-04-17  8:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-15 22:46 [Caml-list] mod_caml Makefile Matt Gushee
2004-04-16  8:11 ` Richard Jones
2004-04-16 16:25   ` Ranjan Bagchi
2004-04-16 16:49     ` Matt Gushee
2004-04-16 16:53       ` Richard Jones
     [not found]       ` <Pine.LNX.4.58.0404161000290.14222@manjula.frotz.bogus>
2004-04-16 17:12         ` Matt Gushee
2004-04-16 17:17           ` Richard Jones
2004-04-16 17:27             ` [Caml-list] Conditional Compilation (was mod_caml Makefile) Kenneth Knowles
2004-04-16 18:32               ` skaller
2004-04-16 18:51                 ` Kenneth Knowles
2004-04-16 20:37                   ` skaller
2004-04-17  0:39               ` Shawn Wagner
2004-04-17  8:46                 ` Martin Jambon [this message]
2004-04-16 16:49     ` [Caml-list] mod_caml Makefile Richard Jones

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=Pine.LNX.4.44.0404171645080.1295-100000@localhost \
    --to=martin_jambon@emailuser.net \
    --cc=caml-list@pauillac.inria.fr \
    --cc=shawnw@speakeasy.org \
    /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).