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 13:11:48 -0700 [thread overview]
Message-ID: <857ceb29-1ffc-6218-f756-a0bb9c3aa334@cs.ucla.edu> (raw)
In-Reply-To: <m2lgkzx67r.fsf@newartisans.com>
On 09/27/2017 01:00 PM, John Wiegley wrote:
> Is the performance gain worth the change?
It is for applications that heavily use 'format' with the optimized
cases. For example, on my old desktop (AMD Phenom II X4 910e), the
proposed patch speeds up the microbenchmark (format "%s" "Hello,
world!") by a factor of 9. It also causes Emacs to use less RAM, though
this is harder to measure.
Also, the change simplifies the Emacs source code, and that's a win even
if the performance gain is small.
next prev parent reply other threads:[~2017-09-27 20:11 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 [this message]
2017-09-27 21:33 ` John Wiegley
2017-09-27 23:33 ` Paul Eggert
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=857ceb29-1ffc-6218-f756-a0bb9c3aa334@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.