From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Wed, 08 Apr 2020 14:22:45 +0300 Message-ID: <83mu7mp6gq.fsf@gnu.org> References: <20200404104553.GA5329@ACM> <07fe3b69-3ab2-3173-0696-cb17809e2b91@gmx.at> <83blo7v68b.fsf@gnu.org> <1845d7aa-9ae4-3d95-6a30-c7b1d8d8adec@gmx.at> <83a73qt6zs.fsf@gnu.org> <97c4254e-ff43-8402-3645-f713c408c245@gmx.at> <83y2r9syby.fsf@gnu.org> <20200405195753.GG5049@ACM> <6d234b0b-72e4-5f86-4bd0-09437471ac92@gmx.at> <20200407114701.GB4009@ACM> <1e322291-a71a-0e24-2179-5197fb2c9f41@gmx.at> <1c72ce9f-8e37-5a0b-10eb-adc070d44086@gmx.at> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="1359"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, rrandresf@gmail.com, emacs-devel@gnu.org, rms@gnu.org, acm@muc.de To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 08 13:23:25 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jM8nl-0000Gd-E9 for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Apr 2020 13:23:25 +0200 Original-Received: from localhost ([::1]:34592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jM8nk-0001dc-GF for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Apr 2020 07:23:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56565) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jM8nH-0001EI-Ci for emacs-devel@gnu.org; Wed, 08 Apr 2020 07:22:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jM8nG-0004vG-EF; Wed, 08 Apr 2020 07:22:54 -0400 Original-Received: from [176.228.60.248] (port=2361 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jM8n7-0004wk-DG; Wed, 08 Apr 2020 07:22:45 -0400 In-Reply-To: (message from Dmitry Gutov on Wed, 8 Apr 2020 13:37:08 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:246660 Archived-At: > Cc: Eli Zaretskii , rrandresf@gmail.com, rms@gnu.org, > emacs-devel@gnu.org > From: Dmitry Gutov > Date: Wed, 8 Apr 2020 13:37:08 +0300 > > > But note that the problem with > > scrolling happens already with dispextern.h whose size is about a tenth > > of that of xdisp.c. > > Yeah, scrolling performance shouldn't be affected by the size of the > file anyway. Scrolling performance _can_ be affected by the size of the buffer (especially if the major mode's fontifications look far back), but only when you scroll close to its end. When you start scrolling from the beginning, all buffers will behave similarly. I think what martin says is that the problem starts happening almost immediately, so being some relatively short distance from the file's beginning already produces the slowdown. Which then will affect smaller files as well, of course.