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: Mon, 06 Apr 2020 16:29:42 +0300 Message-ID: <83a73ospx5.fsf@gnu.org> References: <834ku43c61.fsf@gnu.org> <83k12zz6ds.fsf@gnu.org> <054393f3-3873-ab6e-b325-0eca354d8838@gmx.at> <20200403174757.GA8266@ACM> <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> <1ac21874-3068-0c58-ce73-3a7297e67823@gmx.at> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24851"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, rrandresf@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 06 15:30:27 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 1jLRpa-0006Kw-LW for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 15:30:26 +0200 Original-Received: from localhost ([::1]:60168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLRpZ-00044N-If for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Apr 2020 09:30:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49578) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLRp6-0003ZY-3H for emacs-devel@gnu.org; Mon, 06 Apr 2020 09:29:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLRp5-0005dD-Mt; Mon, 06 Apr 2020 09:29:55 -0400 Original-Received: from [176.228.60.248] (port=3910 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jLRox-0007dM-Dq; Mon, 06 Apr 2020 09:29:48 -0400 In-Reply-To: <1ac21874-3068-0c58-ce73-3a7297e67823@gmx.at> (message from martin rudalics on Mon, 6 Apr 2020 11:05:11 +0200) 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:246523 Archived-At: > Cc: acm@muc.de, rrandresf@gmail.com, rms@gnu.org, emacs-devel@gnu.org > From: martin rudalics > Date: Mon, 6 Apr 2020 11:05:11 +0200 > > >> Do you at least see CPU activity significantly go up when you do such > >> mouse wheel scrolling? > > > > With what build? With the -O0 build with --enable-checking, I don't > > need the mouse: it's enough to lean on C-v and let the keyboard > > auto-repeat do its job -- one execution unit of the CPU maxes out > > after 5 to 10 C-v's. > > OK. Then people see the problem and it's just that they do not build > with -O0. I build with -O0 all the time, it's just that, like you, I never use such a build for any serious work, only for debugging and exploring of new features. > As long as we are not there (and IMO even after that) Emacs should be > able to do its SMIE parsing in a practical way: Restrict backward and > forward parsing to the smallest reasonable code fragment around point. > And reasonable would mean the smallest enclosing fragment delimited by > two parens in column zero it can find in either direction (which can be > still quite large when viewing functions like redisplay_internal). That's for the major modes to implement, the jit-lock infrastructure calls the fontification functions on a small region around the area of interest of the display engine.