Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 Archives:
Bug reports: FAQ:
Beginner's list: