From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7% Date: Fri, 03 Sep 2021 15:35:16 +0300 Message-ID: <83fsulygzf.fsf@gnu.org> References: <83a6kuyysv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15548"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 03 14:38:59 2021 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 1mM8TA-0003gl-9d for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Sep 2021 14:38:56 +0200 Original-Received: from localhost ([::1]:35298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM8T9-0001i8-3P for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Sep 2021 08:38:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM8Pj-0005Gn-NX for emacs-devel@gnu.org; Fri, 03 Sep 2021 08:35:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39918) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mM8Ph-0004SU-BI; Fri, 03 Sep 2021 08:35:23 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1839 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM8Pe-000551-JT; Fri, 03 Sep 2021 08:35:21 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 03 Sep 2021 08:19:48 -0400) 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:273787 Archived-At: > From: Stefan Monnier > Cc: Alan Mackenzie , emacs-devel@gnu.org > Date: Fri, 03 Sep 2021 08:19:48 -0400 > > > Bother: this is not future-proof, and certainly isn't scalable. If we > > are changing the protocol, can we instead come up with a more scalable > > change, so that functions won't "fight" in the future who gets to be > > "the first"? > > The change I proposed (I haven't had time to look at Alan's patch yet, > but IIUC it does what I proposed) does not change the protocol at all. > It just makes jit-lock use the information available in a slightly more > efficient way. Which change is that, and how does it handle the issue at hand? > And while the number of packages using jit-lock tends to grow over time, > it's a *very* slow growth, so I think scaling is not > a significant concern. Famous last words.