all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: John Wiegley <jwiegley@gmail.com>
Cc: 28625@debbugs.gnu.org
Subject: bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like
Date: Wed, 27 Sep 2017 16:33:24 -0700	[thread overview]
Message-ID: <3fe5e3e1-d027-dd48-9d79-a9e64774a1c6@cs.ucla.edu> (raw)
In-Reply-To: <m2d16bx1wg.fsf@newartisans.com>

On 09/27/2017 02:33 PM, John Wiegley wrote:
> 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 am not the best person to try that, as I typically don't use Emacs for 
hours at a time and am not really a power user in the traditional sense. 
Furthermore, counting all calls isn't what is wanted here: we want to 
count just calls that copy strings unnecessarily.

I take your point that the patch is only a minor performance improvement 
in the big picture. And although the patch does simplify the Emacs 
source code, that's minor too. (Should I propose only major changes from 
now on? :-)






  reply	other threads:[~2017-09-27 23:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-27 18:52 bug#28625: [PROPOSED] Speed up (format "%s" STRING) and the like Paul Eggert
2017-09-27 20:00 ` John Wiegley
2017-09-27 20:11   ` Paul Eggert
2017-09-27 21:33     ` John Wiegley
2017-09-27 23:33       ` Paul Eggert [this message]
2017-09-28  5:40         ` John Wiegley
2017-10-07  9:12           ` Philipp Stephani
2017-10-07  9:48             ` Eli Zaretskii
2017-10-07 10:56               ` Philipp Stephani
2017-10-07 11:34                 ` Eli Zaretskii
2017-09-28  1:47     ` Noam Postavsky
2017-09-29 15:48 ` Eli Zaretskii
2017-10-04 21:45   ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3fe5e3e1-d027-dd48-9d79-a9e64774a1c6@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=28625@debbugs.gnu.org \
    --cc=jwiegley@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.