From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Tue, 7 Apr 2020 17:42:17 +0000 Message-ID: <20200407174217.GC4009@ACM> References: <83v9mdssqx.fsf@gnu.org> <679ab47b-6e3e-65e6-f955-be58d59ed092@yandex.ru> <83sghhss8v.fsf@gnu.org> <671b5b41-663d-5ab9-f022-dc6c5ce54dd0@yandex.ru> <83r1x1sqkx.fsf@gnu.org> <83lfn9s63n.fsf@gnu.org> <83h7xvqsgc.fsf@gnu.org> <90749329-ccb1-f96e-29c0-b4ecbb81d1d4@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="20337"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, Eli Zaretskii , rrandresf@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 07 19:43:29 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 1jLsG1-0005Dl-6C for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Apr 2020 19:43:29 +0200 Original-Received: from localhost ([::1]:51432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLsFz-0002PM-8k for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Apr 2020 13:43:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34057) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLsEz-0001ty-11 for emacs-devel@gnu.org; Tue, 07 Apr 2020 13:42:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLsEw-0006sQ-24 for emacs-devel@gnu.org; Tue, 07 Apr 2020 13:42:23 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:33731 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1jLsEv-0006rh-OM for emacs-devel@gnu.org; Tue, 07 Apr 2020 13:42:22 -0400 Original-Received: (qmail 95804 invoked by uid 3782); 7 Apr 2020 17:42:20 -0000 Original-Received: from acm.muc.de (p4FE15BAB.dip0.t-ipconnect.de [79.225.91.171]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Tue, 07 Apr 2020 19:42:17 +0200 Original-Received: (qmail 7348 invoked by uid 1000); 7 Apr 2020 17:42:17 -0000 Content-Disposition: inline In-Reply-To: <90749329-ccb1-f96e-29c0-b4ecbb81d1d4@yandex.ru> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:246619 Archived-At: Hello, Dmitry. On Tue, Apr 07, 2020 at 18:04:13 +0300, Dmitry Gutov wrote: > In that case, there are several issues at play. > Scenarios that are made slower if the file is large are probably caused > by the same architectural decisions that make (find-file "src/xdisp.c") > slow-ish. All those could likely be improved if CC Mode migrated to > using syntax-propertize-function, with its on-demand approach to parsing. Please would you stop saying this. It's not true, and it gets very wearing. The crude syntax-propertize-function mechanism would have to be considerably enhanced before it could support CC Mode's features. And even then, it would be unlikely to be faster than the current CC Mode. -- Alan Mackenzie (Nuremberg, Germany).