Dear ocaml users,
A simple question: is it safe to marshalize a data structure that
contains imperative elements (like arrays or hashtbl) ?
I found the documentation of the Marshal module rather obscure to me.
In particular it is not clear whether I should use the No_sharing
flag.
Thank you!
J
_
For some strange reasons when I do so, I don't have time% but only
call numbers in the profile. Is there something I missed?
J
On Thu, Jun 4, 2009 at 1:29 PM, David MENTRE wrote:
> Hello,
>
> On Thu, Jun 4, 2009 at 19:03, Jean Krivine wrote:
>> Does anyone knows a simple
Dear list
Does anyone knows a simple way to evaluate the time spent by an ocaml
program in GCing?
I guess I can simply disable the GC and compare execution time but I
was wondering whether there is no direct way to do it.
Thanks!
___
Caml-list mailing
In my case I just want to parse a small xml file and I don't need to
check for consistency so I think xml-light is fine enough. Thank you
for the references though
J
On Sun, Nov 23, 2008 at 10:54 AM, Dario Teixeira
<[EMAIL PROTECTED]> wrote:
>> PXP may be a better choice. It's harder at first, but
Superb that seems to be what I needed thanks!
J
On Sun, Nov 23, 2008 at 10:18 AM, Romain Beauxis <[EMAIL PROTECTED]> wrote:
>
> Hi Jean !
>
> On Sun, 23 Nov 2008 10:13:27 -0700, "Jean Krivine" <[EMAIL PROTECTED]>
> wrote:
>> Just a quick question, I
Just a quick question, I would like to open and access easily an xml
file within my ocaml program. Does someone have a small library that
would help me doing that? All the things I found for now are
libraries that help me construct xml and check for consistency which
is not what I want.
Thanks!
J
Each time you use let, you can also use let rec, but you have to use
the rec (for recursive) if you want to declare a recursive function as
in:
let rec f x = if x<0 then 0 else x * f(x-1)
On Wed, Aug 13, 2008 at 8:49 AM, circ ular <[EMAIL PROTECTED]> wrote:
> what is the difference between "let r
es continuously during the execution (it
accumulates at overhead 80 and decreases at overhead 0).
J
On Tue, Jul 29, 2008 at 9:57 AM, Damien Doligez <[EMAIL PROTECTED]> wrote:
> On 2008-07-29, at 15:39, Jean Krivine wrote:
>
>> OK great I' ll try,
>> For the momen
w how often the alarm is tested? is it each time a
major collection is performed?
Thanks a lot
J
On Tue, Jul 29, 2008 at 8:53 AM, Damien Doligez <[EMAIL PROTECTED]> wrote:
> Hello Jean,
>
> On 2008-07-26, at 21:15, Jean Krivine wrote:
>
>> I am running a memory intensiv
Dear list,
I am running a memory intensive stochastic simulator written in ocaml.
After initialization of the data structure (which eats up a lot of
memory but that's normal) I observe a memory leak during the
simulation which should not be there.
I noticed that if I run Gc.major() every n computa
, Andres Varon <[EMAIL PROTECTED]> wrote:
>
>
> On Jul 16, 2008, at 2:07 PM, Jean Krivine wrote:
>
>> Good news, I just tested the patch and it works great with my application!
>> I just had to modify the module random since a call to (Random.int
>> max_int) may raise a
On Wed, Jul 16, 2008 at 12:27 PM, Jean Krivine
<[EMAIL PROTECTED]> wrote:
> Great thanks!
>
> J
>
> On Wed, Jul 16, 2008 at 10:16 AM, Andres Varon <[EMAIL PROTECTED]> wrote:
>>
>> On Jul 15, 2008, at 3:38 PM, Jean Krivine wrote:
>>
>>> I
Great thanks!
J
On Wed, Jul 16, 2008 at 10:16 AM, Andres Varon <[EMAIL PROTECTED]> wrote:
>
> On Jul 15, 2008, at 3:38 PM, Jean Krivine wrote:
>
>> I'd be glad to try the patch if you could post it somewhere!
>
> I have posted it in:
>
> http://res
eanup my job? All that
> would be needed after patching is:
>
> ./configure -host x86_64-apple-darwin -prefix /opt/ocaml/experimental
>
> (The prefix I always add for my ocaml-modified comilers).
>
> best,
>
> Andres
>
> On Jul 15, 2008, at 1:06 PM, Jean Krivine wrote:
>
>&g
M, Richard Jones <[EMAIL PROTECTED]> wrote:
> On Fri, Jul 11, 2008 at 03:49:26PM -0400, Jean Krivine wrote:
>> I am trying to run a stochastic simulator (written in ocaml) on a huge
>> data set and I have the following error message:
>
> I can confirm that OCaml wor
Dear list members,
I am trying to run a stochastic simulator (written in ocaml) on a huge
data set and I have the following error message:
sim(9595) malloc: *** mmap(size=1048576) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Fatal err
Hello
I am trying to make a toplevel including differnent cmo
(OBJS=./dir1/obj1.cmo ./dir2/obj2.cmo ...) contained in different
directories
(OCAMLINCLUDES= -I ./dir1 -I ./dir2 ...).
If I type make toplevel (see excerpt of my makefile below) I obtain a
toplevel that does what I want (I can load all
17 matches
Mail list logo