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
[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-08 (09:02)
From: Ville-Pertti Keinonen <will@e...>
Subject: Re: [Caml-list] [Benchmark] NBody
On Mon, 2005-02-07 at 20:48 -0500, Will M. Farr wrote:
> Doesn't caml store records whose types are all floats as a float array 
> anyway?  I thought I remembered this optimization going by in the 
> manual somewhere.

Yes, it does.

I wonder if there's any reason why this can't be done for even more
cases.  It should work for any record that doesn't contain pointers.