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-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.