Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] internal representation of string
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-26 (13:44)
From: Oleg <oleg_inconnu@m...>
Subject: [Caml-list] internal representation of string

What is the internal representation of string? Is it basically a C-string 
[with or without terminating '\0'] plus integer storing its size? Or is it 
something more sophisticated? Also, do functions like String.sub implement 
copy-on-write mechanism or do they copy when they are called?

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: