emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reducing equality tests in displaying text


From: YAMAMOTO Mitsuharu
Subject: Re: reducing equality tests in displaying text
Date: Sat, 21 Feb 2009 15:08:06 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

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
                                address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]