emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `aset` on strings, changing the size in bytes


From: Eli Zaretskii
Subject: Re: `aset` on strings, changing the size in bytes
Date: Sat, 08 Sep 2018 21:20:13 +0300

> From: Stefan Monnier <address@hidden>
> Date: Sat, 08 Sep 2018 14:03:10 -0400
> 
> > Or maybe the proposal is to modify 'aset' to do the above under the
> > hood?
> 
> No, "'aset' do the above under the hood?" is what we have now.

That's not my reading of the code.  It doesn't seem to cons a new
string.

But if I'm mistaken, and the current implementation does cons a new
string, then what is your problem with it?  The original string is not
mutable, it's just replaced wit ha new one.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]