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: Display slowness that is painful Date: Tue, 31 Jan 2006 23:52:00 -0500 Message-ID: <87mzhbd6kv.fsf@stupidchicken.com> References: <87slr5c78p.fsf@stupidchicken.com> <877j8fx43q.fsf@stupidchicken.com> <87acdblr9b.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138769553 19044 80.91.229.2 (1 Feb 2006 04:52:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 04:52:33 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 01 05:52:25 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 1F49ye-0000LZ-7r for ged-emacs-devel@m.gmane.org; Wed, 01 Feb 2006 05:52:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4A1g-0006Yb-IY for ged-emacs-devel@m.gmane.org; Tue, 31 Jan 2006 23:55:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F4A1U-0006YN-AJ for emacs-devel@gnu.org; Tue, 31 Jan 2006 23:55:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F4A1R-0006Y0-IW for emacs-devel@gnu.org; Tue, 31 Jan 2006 23:55:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4A1R-0006Xx-FT for emacs-devel@gnu.org; Tue, 31 Jan 2006 23:55:13 -0500 Original-Received: from [18.95.6.38] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F49zz-00023y-7J; Tue, 31 Jan 2006 23:53:43 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 5674D1E4244; Tue, 31 Jan 2006 23:52:00 -0500 (EST) Original-To: Stefan Monnier In-Reply-To: <87acdblr9b.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 31 Jan 2006 21:59:56 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:49863 Archived-At: Stefan Monnier writes: >> This is *really* not the time to make changes in redisplay. I think >> the problem here is simply that if you want to display characters as >> \XXX, the redisplay iterator has to go through four times as many >> glyphs. > > Huh? Four times more glyphs per char/byte, yes. > But four times fewer chars/bytes get displayed, so it should be a wash. > > In utf-8 environments, unibyte_display_via_language_environment doesn't make > much sense, and around here utf-8 environments are becoming the norm. I'm confused. How does it make sense to display characters in \XXX format instead? Both methods produce gibberish (as one would expect of a binary file). So we might as well choose the gibberish that redisplays faster.