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] O'Caml vs C++: a little benchmark
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-19 (15:12)
From: William Chesters <williamc@p...>
Subject: Re: [Caml-list] O'Caml vs C++: a little benchmark
Xavier Leroy writes:
 > > the compiler doesn't inline Array.fold_left, and hence not your
 > > anonymous "fun" either, because it doesn't inline anything between
 > > compilation units.
 > Just for the record: ocamlopt does perform inlining across compilation
 > units (via the information stored in .cmx files).  What it doesn't do,
 > however, is inlining and specialization of recursive function definitions.  

Thanks for correcting that misapprehension, and apologies for
propagating it.  (I did do some tests, a long time ago---did I just
get it wrong, or is this a relatively recent feature??)
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