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
compiling large file hogs RAM and takes a long time.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-06-15 (20:15)
From: Sam Steingold <sds@g...>
Subject: Re: compiling large file hogs RAM and takes a long time.
Hash: SHA1

Jon Harrop wrote:
> On Friday 15 June 2007 16:41:28 Sam Steingold wrote:
>> Indeed, but it appears that in this case improving constants does not
>> solve the problem completely.
> I had a problem with a non tail recursion between a pair of functions in 
> ocamlopt that made it stack overflow on some of my autogenerated code. I'll 
> try to track it down again if anyone is interested in fixing it.

I am not sure how this is relevant to the thread.
there is no recursion (tail or otherwise) in my file.
all it has is

type foo = [`A | `B ... ]
let bar = function
| "A" -> `A
| "B" -> `B

Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla -