caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christopher Yocum <cyocum@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] Ocaml 4.02.0: Dead Code Elimination and Core
Date: Mon, 1 Sep 2014 13:58:48 +0100	[thread overview]
Message-ID: <CAJt-9tzifry65vt526_BGtLqmiiO6UOj10CfxW8xS=WOgrwUxg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

Hi Everyone,

I am not sure if this is the correct forum for this question but I thought
I would start here.  I also have the feeling that this is a rather dumb
question.  However, I will put it out there and see what the responses are.

I saw that there is dead code elimination in 4.02.0 and I thought to myself
that this would help make Core's very large binaries smaller.  So, I switch
compilers and did a test.  Unfortunately, a small sample program compiled
with ocamlopt and using Core.Std.List was still 11MB.  I very much doubt
that my binary really needs to be 11MB.  Is there a way to shrink the size?
 I had heard about namesapces elsewhere before but I think that discussion
died.

All the best,
Chris Yocum

[-- Attachment #2: Type: text/html, Size: 840 bytes --]

             reply	other threads:[~2014-09-01 12:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01 12:58 Christopher Yocum [this message]
2014-09-01 13:14 ` Jeremie Dimino
2014-09-01 16:57   ` Chris Yocum
2014-09-04 15:03   ` Goswin von Brederlow
2014-09-05 20:55     ` Jacques Garrigue

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='CAJt-9tzifry65vt526_BGtLqmiiO6UOj10CfxW8xS=WOgrwUxg@mail.gmail.com' \
    --to=cyocum@gmail.com \
    --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;
as well as URLs for NNTP newsgroup(s).