Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Documentation request: allocation of bigarrays in C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-04-03 (23:45)
From: Nathaniel Gray <n8gray@g...>
Subject: Re: [Caml-list] Documentation request: allocation of bigarrays in C
On 4/2/06, Li-Thiao-Té Sébastien <> wrote:
> I do not know in advance the size of the multiple bigarrays to allocate.
> This is determined by parsing the file. To speed up the process, the
> file is parsed on the C side, which is why I want to do GC-friendly
> memory allocation directly from C.

Do you have evidence that the parsing would be significantly slower in
ocaml?  I'm not attacking you, I'm just curious to know if you've made


>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- -->