caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Anders Peter Fugmann <anders@fugmann.net>
To: Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Speeding up compilation
Date: Wed, 02 Apr 2014 23:00:55 +0200	[thread overview]
Message-ID: <533C7A87.2000605@fugmann.net> (raw)
In-Reply-To: <CAHvkLrNyM-gkG+dOpjhktJpgOPP8nsSzRL3Ldr9b36zQzbyX3A@mail.gmail.com>

On 02/04/14 22:43, Fabrice Le Fessant wrote:
> ocp-build uses a trick to speed-up compilations with camlp4: it
> preprocesses every file only once, and then uses the generated file (a
> binary version of the file AST) with ocamldep, ocamlc and ocamlopt. It
> usually means a x3 speedup.
>
Good idea. What would indeed speed up dependency generation.
Do you know if its possible to have ocamlfind generate a binary version 
of the AST as a separate step?

Regards
Anders



  parent reply	other threads:[~2014-04-02 21:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02 20:14 Anders Peter Fugmann
2014-04-02 20:34 ` Daniel Bünzli
2014-04-02 20:43   ` Fabrice Le Fessant
2014-04-02 20:54     ` Yotam Barnoy
2014-04-03  2:10       ` Francois Berenger
2014-04-02 21:00     ` Anders Peter Fugmann [this message]
2014-04-02 20:49   ` Anders Peter Fugmann
2014-04-02 21:09     ` Daniel Bünzli
2014-04-02 21:42   ` Gerd Stolpmann
2014-04-03 21:00     ` Anders Peter Fugmann
2014-04-04 20:55       ` Gerd Stolpmann
2014-04-08 17:32 ` Pietro Abate

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=533C7A87.2000605@fugmann.net \
    --to=anders@fugmann.net \
    --cc=Fabrice.Le_fessant@inria.fr \
    --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).