Browse thread
Documentation request: allocation of bigarrays in C
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ 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 <sayan@crans.org> 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 measurements. Cheers, -n8 -- >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->