From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Display slowness that is painful Date: Wed, 11 Jan 2006 13:58:55 -0500 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1137012287 5768 80.91.229.2 (11 Jan 2006 20:44:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2006 20:44:47 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 11 21:44:42 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 1Ewmpa-0008P6-So for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2006 21:44:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ewmrb-0007yZ-T6 for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2006 15:46:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EwlFh-00085r-Ky for emacs-devel@gnu.org; Wed, 11 Jan 2006 14:03:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EwlFf-00083N-Ay for emacs-devel@gnu.org; Wed, 11 Jan 2006 14:03:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EwlFf-00082m-1i for emacs-devel@gnu.org; Wed, 11 Jan 2006 14:03:19 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EwlIK-00068a-UW for emacs-devel@gnu.org; Wed, 11 Jan 2006 14:06:05 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EwlBP-0008P7-Ul; Wed, 11 Jan 2006 13:58:55 -0500 Original-To: emacs-devel@gnu.org 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:48938 Archived-At: I just displayed a large binary buffer which had many chars in the range 0200 to 0377. And the region was large, too. This led to a very long loop in which I saw the following on the stack try_scrolling, Fwindow_end, start_display...get_next_display_element...handle_stop...handle_face_prop, face_at_buffer_position, merge_named_face (on Qregion) ... means I omitted some intervening function calls. I did not have a way to actually save the backtrace, so I typed in enough that I think people can see what the issue is. It seems that this case badly needs to be optimized. Can someone please work on it, then ack? I can make the test case available if necessary. It is a 1.3 meg GIF file.