Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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.

Regards,
Markus

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