From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Low redisplay performance (23 regression) Date: Wed, 29 Apr 2009 14:45:41 -0400 Message-ID: <87zldzcn8q.fsf@cyd.mit.edu> References: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> <878wlj228q.fsf@freebits.de> <87r5zb4auv.fsf@thinkpad.tsdh.de> <24EC426D-D6DA-438B-B794-72C123142235@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241030787 19471 80.91.229.12 (29 Apr 2009 18:46:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Apr 2009 18:46:27 +0000 (UTC) Cc: Tassilo Horn , emacs-devel@gnu.org, Miles Bader To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 29 20:46:17 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 1LzEnP-0006QE-VX for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2009 20:46:16 +0200 Original-Received: from localhost ([127.0.0.1]:34921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzEnP-0004Wl-AE for ged-emacs-devel@m.gmane.org; Wed, 29 Apr 2009 14:46:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzEmv-00043e-8M for emacs-devel@gnu.org; Wed, 29 Apr 2009 14:45:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzEmq-0003xz-8n for emacs-devel@gnu.org; Wed, 29 Apr 2009 14:45:44 -0400 Original-Received: from [199.232.76.173] (port=33039 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzEmp-0003xa-Vt for emacs-devel@gnu.org; Wed, 29 Apr 2009 14:45:40 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:45096) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzEmo-0007OO-86; Wed, 29 Apr 2009 14:45:38 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 5351F57E205; Wed, 29 Apr 2009 14:45:41 -0400 (EDT) In-Reply-To: <24EC426D-D6DA-438B-B794-72C123142235@gmail.com> (David Reitter's message of "Wed, 29 Apr 2009 13:49:26 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:110556 Archived-At: David Reitter writes: > On Apr 29, 2009, at 1:40 PM, Tassilo Horn wrote: >> >> And on yet another related note, today I've found out that after >> changing the font scale for the current buffer using `C-x C-+' or `C-x >> C--' line-by-line scrolling slows down considerably. > > As said earlier, I found that using face-remapping is highly > correlated with this slow-down. I think the problem is that lookup_basic_face computes the remapped face_id in an expensive way. It needs to do some caching.