Browse thread
compiling large file hogs RAM and takes a long time.
[
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: | -- (:) |
| From: | Sam Steingold <sds@g...> |
| Subject: | Re: compiling large file hogs RAM and takes a long time. |
-----BEGIN PGP SIGNED MESSAGE----- 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 ... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGcvFBPp1Qsf2qnMcRAiqLAJ40x2ItY4N9kjOI9fXsKNqrxwpa/ACcCJoC AxGJRTfe7b89b1+l3vL5k9A= =PaNJ -----END PGP SIGNATURE-----