Hi,

nalaginrut <nalagin...@gmail.com> skribis:

> *string-copy is actually substring/copy, which is a newly allocated
> string buffer.
>
> *substring is a copy-on-write version.

And these two procedures live at a different abstraction level: the name
‘string-copy’ suggests memory management, whereas ‘substring’ suggests
an operation on a string (which happens to use COW, but that’s an
implementation detail.)

Thanks,
Ludo’.


Reply via email to