Browse thread
Estimating the size of the ocaml community
-
Yaron Minsky
-
Christopher A. Watford
-
Frédéric_Gava
-
skaller
-
Erik de Castro Lopo
- Olivier_Pérès
-
Thomas Fischbacher
-
Frédéric_Gava
-
Thomas Fischbacher
- Paul Snively
-
josh
-
Thomas Fischbacher
- Richard Jones
- Michael Walter
-
Oliver Bandel
- Thomas Fischbacher
-
Thomas Fischbacher
- Richard Jones
-
Jon Harrop
-
Michael Walter
-
Jon Harrop
- Damien Doligez
- Thomas Fischbacher
- Michael Walter
-
Radu Grigore
- Gerd Stolpmann
- Jon
-
Jon Harrop
- Thomas Fischbacher
- Richard Jones
-
Michael Walter
- Ville-Pertti Keinonen
- Oliver Bandel
- Basile STARYNKEVITCH
-
Thomas Fischbacher
- ronniec95@l...
- skaller
- chris.danx
-
Frédéric_Gava
-
Erik de Castro Lopo
- sejourne_kevin
- Stefano Zacchiroli
-
skaller
-
Frédéric_Gava
- Kenneth Knowles
- Michael Jeffrey Tucker
- Richard Jones
- Nicolas Cannasse
- Evan Martin
- Eric Stokes
- chris.danx
- Sylvain LE GALL
- sejourne_kevin
- Sven Luther
- Johann Spies
-
Christopher A. Watford
[
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: | Thomas Fischbacher <Thomas.Fischbacher@P...> |
| Subject: | Re: [Caml-list] Estimating the size of the ocaml community |
On Fri, 4 Feb 2005, Oliver Bandel wrote: > > Oh, by the way, there is one more thing which I consider a really > > grave issue, which gave us quite a lot of grey hair already: Ocaml > > strings have this stupid limitation to 16 MB, which means in particular > > that if you serialize a truly large intermediate state of, say, a long > > and complicated calculation which accidentally got a bit larger than this > > limit (while you did not expect that), well... > > Well, maybe there should be a BigStrings- or LongStrings-Module > introduced into OCaml-stdlib? Well, there is something for opaque binary data, but the problem is that not all functions one would like to have on them are readily available. > But: When you mean with "a long and complicated calculation" > using larger int/float-values you may use > the num-library. No, I actually meant serializing an approximation-to-a-continuation in long running symbolic calculations that accumulate quite a sizable heap of expressions representing terms, say for checkpointing. > E.g. in module Num there is a string_of_num-function. > Do you really think, the results will be larger than 16MB? In my case, I indeed had precisely this problem of some serializations failing due to data breaking the 16MB limit. Oh, by the way, I also have indications that at least for 3.07, there is a bug in serializing and re-serializing hash tables. Unfortunately, my test case is quite complicated, and I so far could not strip it down to something more useful for debuggers. -- regards, tf@cip.physik.uni-muenchen.de (o_ Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\ (lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_ (if (= x 0) y (g g (- x 1) (* x y)))) n 1)) (Debian GNU)