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: reducing equality tests in displaying text Date: Sat, 21 Feb 2009 15:08:06 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1235196513 23173 80.91.229.12 (21 Feb 2009 06:08:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Feb 2009 06:08:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 21 07:09:49 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lal3a-0003fY-8c for ged-emacs-devel@m.gmane.org; Sat, 21 Feb 2009 07:09:46 +0100 Original-Received: from localhost ([127.0.0.1]:54900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lal2F-0001Lr-V9 for ged-emacs-devel@m.gmane.org; Sat, 21 Feb 2009 01:08:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lal27-0001JH-74 for emacs-devel@gnu.org; Sat, 21 Feb 2009 01:08:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lal24-0001EC-Sh for emacs-devel@gnu.org; Sat, 21 Feb 2009 01:08:13 -0500 Original-Received: from [199.232.76.173] (port=48249 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lal24-0001Dr-8I for emacs-devel@gnu.org; Sat, 21 Feb 2009 01:08:12 -0500 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2]:59812 helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lal23-00011Q-C2 for emacs-devel@gnu.org; Sat, 21 Feb 2009 01:08:11 -0500 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 DC8FC2C49; Sat, 21 Feb 2009 15:08:06 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: NetBSD 3.0 (DF) 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:109271 Archived-At: I found another scenario of excessive equality tests in displaying text. It can be observed with scrolling the Chinese-BIG5 tutorial: it is much more sluggish than scrolling the Japanese tutorial, for example. I suspect something is wrong in the following part in fontset.c: 581 if (INTEGERP (RFONT_DEF_FACE (elt)) 582 && XINT (AREF (elt, 1)) < 0) 583 /* We couldn't open this font last time. */ 584 continue; where AREF (elt, 1) means RFONT_DEF_FONT_DEF (elt). YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp