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
A Question About Types and Inlining
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-12-09 (09:31)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] A Question About Types and Inlining
On Saturday 09 December 2006 00:55, Eric Cooper wrote:
> You can use
>   type variable = Variable of int
>   etc.
> in your signatures.
> This makes the representation visible for optimization purposes,
> incurs no representation overhead,

In OCaml, that imposes a huge representation overhead.

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists