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
Re: [Caml-list] OCaml speed
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-10-17 (20:41)
From: Rolf Wester <rolf.wester@i...>
Subject: Re: [Caml-list] OCaml speed
Thanks to all for your replies,

I tried 

	ocamlopt -noassert -unsafe -ccopt -O3 unix.cmxa ary.ml -o ary

and got 0.21 instead of 0.28 sec. -noaasert and -ccopt -O3 can be omitted
with the same result. So ocaml is about 100% slower compared to g++ 
on a True64 Alpha. I think for many applications this doesn't matter. 

With kind regards

Rolf Wester   
Rolf Wester
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr