[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.
- `aset` on strings, changing the size in bytes, Stefan Monnier, 2018/09/07
- Re: `aset` on strings, changing the size in bytes, Johan Bockgård, 2018/09/07
- Re: `aset` on strings, changing the size in bytes, Eli Zaretskii, 2018/09/08
- Re: `aset` on strings, changing the size in bytes, Stefan Monnier, 2018/09/08
- Re: `aset` on strings, changing the size in bytes,
Eli Zaretskii <=
- Re: `aset` on strings, changing the size in bytes, Stefan Monnier, 2018/09/08
- Re: `aset` on strings, changing the size in bytes, Eli Zaretskii, 2018/09/08
- Re: `aset` on strings, changing the size in bytes, Stefan Monnier, 2018/09/08
- Re: `aset` on strings, changing the size in bytes, Eli Zaretskii, 2018/09/09
- Re: `aset` on strings, changing the size in bytes, Stefan Monnier, 2018/09/09
- Re: `aset` on strings, changing the size in bytes, Richard Stallman, 2018/09/09
- Re: `aset` on strings, changing the size in bytes, Eli Zaretskii, 2018/09/09
- Re: `aset` on strings, changing the size in bytes, Noam Postavsky, 2018/09/09
- Re: `aset` on strings, changing the size in bytes, Eli Zaretskii, 2018/09/09
- Re: `aset` on strings, changing the size in bytes, Noam Postavsky, 2018/09/09