From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like Date: Wed, 27 Sep 2017 14:33:19 -0700 Message-ID: References: <20170927185212.1846-1-eggert@cs.ucla.edu> <857ceb29-1ffc-6218-f756-a0bb9c3aa334@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506548058 12277 195.159.176.226 (27 Sep 2017 21:34:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 27 Sep 2017 21:34:18 +0000 (UTC) User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/26.0 (darwin) Cc: 28625@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 27 23:34:13 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 1dxJy7-0002ik-Jz for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Sep 2017 23:34:11 +0200 Original-Received: from localhost ([::1]:56417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxJyF-0006vu-3s for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Sep 2017 17:34:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxJy4-0006ty-Db for bug-gnu-emacs@gnu.org; Wed, 27 Sep 2017 17:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxJxz-0000o3-Fw for bug-gnu-emacs@gnu.org; Wed, 27 Sep 2017 17:34:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxJxz-0000nu-CB for bug-gnu-emacs@gnu.org; Wed, 27 Sep 2017 17:34:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dxJxy-0004xn-BX for bug-gnu-emacs@gnu.org; Wed, 27 Sep 2017 17:34:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Sep 2017 21:34:02 +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.150654801019026 (code B ref 28625); Wed, 27 Sep 2017 21:34:02 +0000 Original-Received: (at 28625) by debbugs.gnu.org; 27 Sep 2017 21:33:30 +0000 Original-Received: from localhost ([127.0.0.1]:35512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxJxR-0004wo-Vd for submit@debbugs.gnu.org; Wed, 27 Sep 2017 17:33:30 -0400 Original-Received: from mail-pg0-f48.google.com ([74.125.83.48]:47759) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dxJxQ-0004wb-CD for 28625@debbugs.gnu.org; Wed, 27 Sep 2017 17:33:28 -0400 Original-Received: by mail-pg0-f48.google.com with SMTP id d8so8481467pgt.4 for <28625@debbugs.gnu.org>; Wed, 27 Sep 2017 14:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version; bh=V8zGb3cKphT7Zpjp0BIwQ7E6EcWp0+r0Ek2HiuNmzuA=; b=PIWeOyDdQDhqgUsyU1c8uPCqR6cmzR9WhltjN5WPhH2DOONaK7/XLBMUlbjPCxqWW8 xJvsZ4L6CTH09l0sDrFdK2cm8Kkuu/VO8uBW1oD3XVcfTc8hzmsNoysM1ZzeMx3TH7Bp KVYzJkKEOulRfvw+RX6Ly2gqPhPhC+yPAoPt0ofyMecTmQdrZuHQHhM3UMGX0HjDvMm+ I0p6yVECli2F3L6rclEOB76HXGyZ0cPdOYVjBmJxIvr0uJYq2CuD4ONqGjyzASW2Wmjs wUJrXQ29tHgQQAbbTUkXV45dYjjCErVNtvIeiDpF2GJBaXKe+CdoUYdR6j7ewpBNcdFD m8oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mime-version; bh=V8zGb3cKphT7Zpjp0BIwQ7E6EcWp0+r0Ek2HiuNmzuA=; b=ixk1nWisB1Bnybj/DSyGyrhMQ4R8M97kQkwnhNe2p3SbJifgkV9Cr6xa4ouXlX8zpn Iy/Dg1q46XThWeZdBCZwc+RTVnPaAYwr17b5J/1SjDLa1BOXja80Jc3yrPyl2BVO45ef TXFr2vX6fFgDzzChA5A6hNNGsiwYmaNWZ202nj4yLBWf4QCH4OKui/oumgoI/PkWkrIs Yz7k/dutz0368jSg00pAHIQ0zEeljmXr0V5+FtFTiyO9O/1jVGcSkh3kiNcZKvW+8mos B2J2gArYUOW+ga5DhmNrg4Z+sXOIoj2g+5XzwFK3lc4YxulpSmwFUVpAjtJMKwXozDx9 jGig== X-Gm-Message-State: AHPjjUggSG6oQ5wREV5fPCXk/XEM1lpqtf8CsSrq9ex9x1tpte0P/Wqu 9qfLUfWSPX63jqNFtrUGdvw= X-Google-Smtp-Source: AOwi7QBpRp4lLg4jg7jKqnWhJ2mU3O/B9ynTaj2kj7JuHYlABzm8m5DkpYQvy3dl0zwwuFfPWb6BUg== X-Received: by 10.99.121.77 with SMTP id u74mr2390512pgc.81.1506548002498; Wed, 27 Sep 2017 14:33:22 -0700 (PDT) Original-Received: from Vulcan.local (76-234-69-149.lightspeed.frokca.sbcglobal.net. [76.234.69.149]) by smtp.gmail.com with ESMTPSA id k25sm19660947pgf.13.2017.09.27.14.33.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Sep 2017 14:33:21 -0700 (PDT) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id 8E08693805F5; Wed, 27 Sep 2017 14:33:20 -0700 (PDT) In-Reply-To: <857ceb29-1ffc-6218-f756-a0bb9c3aa334@cs.ucla.edu> (Paul Eggert's message of "Wed, 27 Sep 2017 13:11:48 -0700") 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:137520 Archived-At: >>>>> Paul Eggert writes: > Also, the change simplifies the Emacs source code, and that's a win even if > the performance gain is small. Can you enable ELP for just 'format', use Emacs for a few hours as you normally do, and then report how many times, and how much time, is consumed in its use? I'm not really interested in benchmarks that stress format. If the time advantage is lost in the background noise, I don't think it's worth changing. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2