From: "Peter Gibbs" <[EMAIL PROTECTED]>
> > * Add size of string termination to encodings (i.e., how many 0 bytes)
>
> Should string termination be required? If strings are assumed to be
> terminated, it seems to me that precludes buffer re-use (copy-on-write)
for
> substrings. On the other hand, passing strings to native C library
routines
> requires the termination. One compromise would be for 'unique' strings to
be
> terminated, and do 'copy-on-read' if a non-unique string (i.e. one
borrowing
> a buffer) is passed to an external function.

The compromise you suggest is the way I saw it.

David

Reply via email to