Browse thread
Strings
[
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: | 2009-04-05 (07:03) |
From: | Goswin von Brederlow <goswin-v-b@w...> |
Subject: | Re: [Caml-list] Strings |
Edgar Friendly <thelema314@gmail.com> writes: > Jon Harrop wrote: >> On Saturday 04 April 2009 22:51:50 Goswin von Brederlow wrote: >>> The beauty of ocaml strings is that they are really compact. An ocaml >>> string on 32bit is 5-8 bytes longer than the contained string and 9-16 >>> bytes on 64bit. >> >> The ugliness is that 16Mb limit. I assume those limits have been removed in >> batteries?! >> > Our implementation of ropes (well, really Mauricio Fernandez's) has a > limit of ~700MB in 32-bit and 220GB in 64-bit. Users that need more > than that will have to recompile batteries with a larger > 'Rope.max-height' constant. > > E. # Sys.max_string_length;; - : int = 144115188075855863 Why is the limit for rRope 220GB in 64bit? MfG Goswin