[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4222: calls to char_table_ref slow down 23.1 (vs 22.3)
From: |
Kenichi Handa |
Subject: |
bug#4222: calls to char_table_ref slow down 23.1 (vs 22.3) |
Date: |
Fri, 21 Aug 2009 15:34:10 +0900 |
> 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