From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Possible redisplay performance enhancements (revisited) Date: Mon, 24 Apr 2006 18:52:25 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1145872374 10479 80.91.229.2 (24 Apr 2006 09:52:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Apr 2006 09:52:54 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 24 11:52:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FXxkN-0000s5-He for ged-emacs-devel@m.gmane.org; Mon, 24 Apr 2006 11:52:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXxkN-0001Nj-4L for ged-emacs-devel@m.gmane.org; Mon, 24 Apr 2006 05:52:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FXxkB-0001Mr-5z for emacs-devel@gnu.org; Mon, 24 Apr 2006 05:52:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FXxk9-0001KL-IP for emacs-devel@gnu.org; Mon, 24 Apr 2006 05:52:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXxk9-0001K8-EV for emacs-devel@gnu.org; Mon, 24 Apr 2006 05:52:33 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FXxmJ-0000MH-Mh; Mon, 24 Apr 2006 05:54:48 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id BA01F2CA3; Mon, 24 Apr 2006 18:52:25 +0900 (JST) Original-To: Kenichi Handa In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53313 Archived-At: >>>>> On Mon, 24 Apr 2006 16:35:28 +0900, Kenichi Handa said: > I don't know why Gerd put that condition in the code. But, as the > code in fontset always uses a font specified for ASCII for ASCII > code (see below), I think the proposed patch is safe. Thanks. It seems that the patch would not make things worse, at least. I suspect get_glyph_face_and_encoding is not needed if `struct glyph' contains `char2b' info and it is filled in append_glyph. That would reduce the number of calls to rif->encode_char and enhance the performance when CCL is thoroughly used as in Mac. But such a change might be too drastic to do at this stage. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp