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
Memory allocation nano-benchmark.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-10 (15:32)
From: Ville-Pertti Keinonen <will@e...>
Subject: Re: [Caml-list] Memory allocation nano-benchmark.
On Thu, 2005-02-10 at 14:56 +0000, Jon Harrop wrote:

> 1. Run-time polymorphism in Array.init.
> I believe the former could be fixed by running source through a whole-program 
> preprocessor to remove all polymorphism.

It's not just the polymorphism, but also the creation of the closure.
Better inlining could address these, without changing the compilation
model quite that much.