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: Thu, 30 Apr 2009 01:05:41 -0400 Message-ID: <878wli4tp6.fsf@cyd.mit.edu> References: <4870CC42-A08E-4BE9-B566-0F4DA7AB0B74@gmail.com> <878wlj228q.fsf@freebits.de> <87r5zb4auv.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241067961 26323 80.91.229.12 (30 Apr 2009 05:06:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2009 05:06:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 30 07:05:52 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 1LzOT1-0006Nt-7e for ged-emacs-devel@m.gmane.org; Thu, 30 Apr 2009 07:05:51 +0200 Original-Received: from localhost ([127.0.0.1]:33838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzOT0-00067c-2U for ged-emacs-devel@m.gmane.org; Thu, 30 Apr 2009 01:05:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LzOSt-00066K-NT for emacs-devel@gnu.org; Thu, 30 Apr 2009 01:05:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzOSo-00064Q-En for emacs-devel@gnu.org; Thu, 30 Apr 2009 01:05:42 -0400 Original-Received: from [199.232.76.173] (port=45372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzOSo-00064L-5G for emacs-devel@gnu.org; Thu, 30 Apr 2009 01:05:38 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:43605) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzOSn-0003oA-Ok for emacs-devel@gnu.org; Thu, 30 Apr 2009 01:05:37 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 60B2557E205; Thu, 30 Apr 2009 01:05:41 -0400 (EDT) In-Reply-To: <87r5zb4auv.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 29 Apr 2009 19:40:24 +0200") 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:110567 Archived-At: Tassilo Horn writes: > 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. On further investigation, I found that the problem can be solved with a relatively safe change to handle_face_prop, so that it tells face_at_buffer_position what the base face id is rather than having face_at_buffer_position recalculate it each time the redisplay loop wants to display the next face (!). I've checked in the fix.