From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like Date: Sat, 07 Oct 2017 10:56:52 +0000 Message-ID: References: <20170927185212.1846-1-eggert@cs.ucla.edu> <857ceb29-1ffc-6218-f756-a0bb9c3aa334@cs.ucla.edu> <3fe5e3e1-d027-dd48-9d79-a9e64774a1c6@cs.ucla.edu> <83wp47thj0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403043788c04f38ee055af2d19c" X-Trace: blaine.gmane.org 1507373895 12899 195.159.176.226 (7 Oct 2017 10:58:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 7 Oct 2017 10:58:15 +0000 (UTC) Cc: 28625@debbugs.gnu.org, jwiegley@gmail.com, eggert@cs.ucla.edu To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 07 12:58:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0mo2-000289-0T for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Oct 2017 12:58:06 +0200 Original-Received: from localhost ([::1]:49160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0mo9-000107-30 for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Oct 2017 06:58:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0mo1-000102-Kb for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 06:58:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0mny-0002sM-I6 for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 06:58:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0mny-0002s1-EW for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 06:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e0mny-0002yf-1K for bug-gnu-emacs@gnu.org; Sat, 07 Oct 2017 06:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Oct 2017 10:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28625 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28625-submit@debbugs.gnu.org id=B28625.150737383211381 (code B ref 28625); Sat, 07 Oct 2017 10:58:01 +0000 Original-Received: (at 28625) by debbugs.gnu.org; 7 Oct 2017 10:57:12 +0000 Original-Received: from localhost ([127.0.0.1]:53787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0mn9-0002xS-DA for submit@debbugs.gnu.org; Sat, 07 Oct 2017 06:57:11 -0400 Original-Received: from mail-oi0-f41.google.com ([209.85.218.41]:55420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e0mn7-0002xF-OE for 28625@debbugs.gnu.org; Sat, 07 Oct 2017 06:57:10 -0400 Original-Received: by mail-oi0-f41.google.com with SMTP id g125so15690692oib.12 for <28625@debbugs.gnu.org>; Sat, 07 Oct 2017 03:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=DJyWsHkKlm+IZzZFWteblKuOSaTfneoLAqUsCtaxRDM=; b=GgwsL2ZFfLkzAcJRnds9diE8yIukdcOYjtATuf6puLqvTDg0nDFWhuLzLZo9xNyvDB muYCsNwnstqlR5c+9ugUu/i41Pw26OMs0UKKHAOHmt/OCGONts/nejRRITM6rNkjaqaG ab7D0XSkVLbveDHn1yT24ZQ3ZM7uffIWFAmQeaTrnpfETtZo/nHnSl7fsdeF3SRtm2q9 grTF4IfysfVAVJKCx96QrB4ajJKgoMlFdx4l/bdRCih9MhJ/J+s6vyFUKYPYBNsl7V7q OyluqpVujBmRUA5QYiZb02wsQf9m9fWgBr1U3IVdA01rF7TEz1MFBzC2z4ZXjYD2rvG4 sJEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DJyWsHkKlm+IZzZFWteblKuOSaTfneoLAqUsCtaxRDM=; b=LgwDrbdf0/siDPU7niE3oF97EJkP7NeEFPZe4xsfqxByZ/Y7tgI+NMUlgVgxD8x3Db 113O2U/onpHKUF9rpFYHQzh/ydrZBfGVR6dXaqcOcrxt/qaZU6KGrSQXvcvXzeE7rgKF If0BTq6dfLO/V5LGVKrvtAqAZzDcZWvpktj7JYWpdEIFHjXDwc2Gs/d5ZYADq8tSl1Tc RhxDjvko0S3X6c89+M9kDRkQg5HbG3dHVtdDFclQ7hPC7mrH1v9yYC8n5y16NzHtH8Nv ZcMThCDsGoSKYszVnr+rUGdm8pjN6PrvQKFNiF+C5CgIji5kIL5EPOpTHLxfyuhEqV6Z U14A== X-Gm-Message-State: AMCzsaXVeC5xOiK4M391hg8tZjqO5x86RGM/tSP0rXfyn3AgMWF+ilAl j65JuiOCI3EDhZgU+ULvXezqg7vteShNDkS+qVY= X-Google-Smtp-Source: AOwi7QBdEo+4a0EyrIr2Njc0BscsFRoGTcX+ZHeLbhU0Bxz4FCf4XoUAANZwF3YstmQRaMffSeng8uGfvVNEPARY8g4= X-Received: by 10.157.66.43 with SMTP id q43mr3061876ote.219.1507373823766; Sat, 07 Oct 2017 03:57:03 -0700 (PDT) In-Reply-To: <83wp47thj0.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138041 Archived-At: --f403043788c04f38ee055af2d19c Content-Type: text/plain; charset="UTF-8" Eli Zaretskii schrieb am Sa., 7. Okt. 2017 um 11:49 Uhr: > > From: Philipp Stephani > > Date: Sat, 07 Oct 2017 09:12:16 +0000 > > Cc: 28625@debbugs.gnu.org > > > > Shouldn't this at least be documented in the "Incompatible Lisp changes" > section of NEWS? > > If it's incompatible, sure. Is it? Can you show the effect of the > incompatibility? > $ emacs -Q -batch -eval '(let* ((a "a") (b (format "%s" a))) (aset a 0 ?b) (print b))' With Emacs 25.3 this prints "a", with current master it prints "b". --f403043788c04f38ee055af2d19c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Eli Za= retskii <eliz@gnu.org> schrieb am= Sa., 7. Okt. 2017 um 11:49=C2=A0Uhr:
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 07 Oct 2017 09:12:16 +0000
> Cc: 28625@d= ebbugs.gnu.org
>
> Shouldn't this at least be documented in the "Incompatible Li= sp changes" section of NEWS?

If it's incompatible, sure.=C2=A0 Is it?=C2=A0 Can you show the effect = of the
incompatibility?

$ emacs -Q -batch -eva= l '(let* ((a "a") (b (format "%s" a))) (aset a 0 ?b= ) (print b))'

With Emacs 25.3 this prints &quo= t;a", with current master it prints "b".=C2=A0
--f403043788c04f38ee055af2d19c--