Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
http://www.ffconsultancy.com/products/ocaml_for_scientists