From: Kenichi Handa <handa@m17n.org>
To: Dan Nicolaescu <dann@ics.uci.edu>, 4222@emacsbugs.donarmstrong.com
Subject: bug#4222: calls to char_table_ref slow down 23.1 (vs 22.3)
Date: Fri, 21 Aug 2009 15:34:10 +0900 [thread overview]
Message-ID: <E1MeNhS-0002Wd-7T@etlken> (raw)
In-Reply-To: <200908210518.n7L5IAN1015939@godzilla.ics.uci.edu> (message from Dan Nicolaescu on Thu, 20 Aug 2009 22:18:10 -0700 (PDT))
> Take src/config.h run C-x r t on it to insert a space in front of each
> line.
> Then build both emacs-23.1 and 22.3 with profiling enabled (-O2 -g -pg).
> Then run:
> emacs -Q -nw config.h
> M-: (indent-region (point-min)(point-max)) RET
> C-x C-c
[...]
> It can be seen that 23.1 is quite a bit slower, and that it has a lot of
> extra calls to char_table_ref.
> Is there some easy way to reduce the number of those calls?
Please find which char-table is referred so many times.
---
Kenichi Handa
handa@m17n.org
next prev parent reply other threads:[~2009-08-21 6:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-21 5:18 bug#4222: calls to char_table_ref slow down 23.1 (vs 22.3) Dan Nicolaescu
2009-08-21 6:34 ` Kenichi Handa [this message]
2009-08-21 7:08 ` Dan Nicolaescu
-- strict thread matches above, loose matches on Subject: below --
2009-09-18 23:30 Chong Yidong
2009-09-19 4:43 ` Dan Nicolaescu
2009-09-19 5:37 ` Kenichi Handa
2009-09-24 4:05 ` Kenichi Handa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1MeNhS-0002Wd-7T@etlken \
--to=handa@m17n.org \
--cc=4222@emacsbugs.donarmstrong.com \
--cc=dann@ics.uci.edu \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).