Browse thread
Array 4 MB size limit
[
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: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] Re: immutable strings (Re: Array 4 MB size limit) |
On Thursday 25 May 2006 08:23, j h woodyatt wrote: > Change the way strings are boxed so that there is an additional tag > for immutable strings as opposed to the normal mutable ones. In all > respects, allow string objects with either tag to be treated the same > by functions that do not modify the content of the string. When the > "safe" variants of the string mutation functions are called on a > string object with the immutable tag, throw a runtime exception. Blech. I didn't come all this way for dynamic typing... ;-) -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists