Version française
Home     About     Download     Resources     Contact us    
Browse thread
Arrays and boxed/unboxed data
[ 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] Arrays and boxed/unboxed data
On Saturday 08 July 2006 16:25, Tom wrote:
> You could probably use one dimensional array and use a modified getter and
> setter functions that would transform 2-D indeces into 1-D indeeces. In
> this way, all the elements would be unboxed.

Although you're likely to hit the max array length limit on 32-bit.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists