[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: substring
From: |
Ludovic Courtès |
Subject: |
Re: substring |
Date: |
Mon, 10 Sep 2012 00:19:13 +0200 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
Hi,
nalaginrut <address@hidden> 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’.