English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Functors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-03 (16:09)
From: Alain.Frisch@e...
Subject: RE: [Caml-list] Functors
On Mon, 3 May 2004, Jacques Carette wrote:

> I know of people who have their 'build' scripts concatenate all their Ocaml
> source files into one large file before compiling anything; the resulting
> compilation time is still very short, but the corresponding executable is
> significantly faster!

Do you have an explanation for this fact ?  Given that ocamlopt can inline
function and propagate constants across compilation unit boundaries, what
kind of extra optimizations do you get with a single compilation unit ?

-- Alain

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