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
[Benchmark] NBody
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-07 (20:16)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] [Benchmark] NBody
On Mon, 07 Feb 2005, Christophe TROESTLER wrote:
> I thought that.  Still, I'd like to know whether there is a way to
> make Caml code that fast or if not why.

I have personally found that using "let rec" loops often slightly improves
performance over "for"-loops.  Maybe this is just anecdotal evidence,
but you might want to try that instead.


Markus Mottl    markus.mottl@gmail.com    http://www.ocaml.info