GNU bug report logs - #70784
Abolish string resizing

Previous Next

Package: emacs;

Reported by: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>

Date: Sun, 5 May 2024 12:35:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: luangruo <at> yahoo.com, mattias.engdegard <at> gmail.com, 70784 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: bug#70784: Abolish string resizing
Date: Mon, 06 May 2024 14:35:26 +0300
> Cc: "70784 <at> debbugs.gnu.org" <70784 <at> debbugs.gnu.org>,
>  Stefan Monnier <monnier <at> iro.umontreal.ca>
> Date: Mon, 6 May 2024 01:56:27 +0000
> From:  Drew Adams via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Wrt mutable strings: Consider that Common Lisp, whose
> implementations can be very performant, has always had
> mutable strings.  I'd even wager that no one ever argued
> that its strings shouldn't be mutable.  Inconceivable.

Which is why no one is proposing to make string immutable.  This is
not what this proposal is about, and Mattias made a point of saying
that explicitly.

> On the other hand, Elisp strings can have text properties.
> (Let's please not hear a proposal to remove that feature
> as well, in the name of immutability or performance.)

A strawman, if ever there was one.




This bug report was last modified 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.