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: | Tom <tom.primozic@g...> |
| Subject: | Re: [Caml-list] Re: immutable strings (Re: Array 4 MB size limit) |
On 25/05/06, Aleksey Nogin <nogin@cs.caltech.edu> wrote: > > On 25.05.2006 04:18, Brian Hurt wrote: > > > Changing this behavior in Ocaml > > would break huge amounts of code (including some of my code). > > It is obvious that at this point changing the default behavior would not > be possible. However, adding the new "immutable strings" type would > definitely be great and adding a compiler flag that would turn all > string constants, "^", etc in a given module into immutable string > operations would be nice as well and would not break any existing code. But why don't you add such a type yourself?