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.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Sun, 24 Jul 2022 19:18:22 +0300 Message-ID: <83fsiqfprl.fsf@gnu.org> References: <837d44jr4p.fsf@gnu.org> <83bktghrn0.fsf@gnu.org> <87v8rnc2wp.fsf@gmail.com> <8335erizqh.fsf@gnu.org> <83r12bhgfo.fsf@gnu.org> <83pmhvhg7g.fsf@gnu.org> <83o7xfhfqw.fsf@gnu.org> <83czdvgfy4.fsf@gnu.org> <83o7xeft1w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22877"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, gregory@heytings.org, visuweshm@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 24 18:21:25 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oFeM8-0005kP-BR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 18:21:24 +0200 Original-Received: from localhost ([::1]:49592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFeM7-0001gZ-9A for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 12:21:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFeJr-0007Y5-Vf for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 12:19:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58790) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFeJq-0007no-7Z for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 12:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFeJq-0001rY-03 for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 12:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jul 2022 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56682 X-GNU-PR-Package: emacs Original-Received: via spool by 56682-submit@debbugs.gnu.org id=B56682.16586795147107 (code B ref 56682); Sun, 24 Jul 2022 16:19:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 24 Jul 2022 16:18:34 +0000 Original-Received: from localhost ([127.0.0.1]:48536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFeJN-0001qZ-Ob for submit@debbugs.gnu.org; Sun, 24 Jul 2022 12:18:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFeJI-0001qI-Ea for 56682@debbugs.gnu.org; Sun, 24 Jul 2022 12:18:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFeJC-0007lj-9H; Sun, 24 Jul 2022 12:18:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=l5lq7P3rqxtrWuaWsQTDGVtNRqwcPQd7WfIcJuchxNo=; b=BGASTkRC1oU44ZTbXxVt b/D9m2YYX3F/bYHTeISYj6y2ckdyasPe+M3bvaDguVsQ5Pqsr77iOYFL9Gfsn+U9xEFeN0NCV8yad qd+7K/X9tieTXWa9Te7+sRBOQLOrw/rDNH7u5isCseWwwJkXI+bd6r4+KW3wh4w4DTpSKWtiD8vQD LEPFrt1hpv1K0ZZPj+D8HY6x5gVr6oXcFfLgK23oqdGRRc/FqEG1cmkcyCZdxJLaMqhyxzNTggWSl EhexnonOSZehVnrvfx1A3+W7V81XeolxdEH0EYnjOT9f4tFmRPe71KfgRLTEDfEVu9BQW8sPgby5q tnlcuPjmedfh1Q==; Original-Received: from [87.69.77.57] (port=2172 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 1oFeJB-00079I-PI; Sun, 24 Jul 2022 12:18:22 -0400 In-Reply-To: (message from Stefan Monnier on Sun, 24 Jul 2022 11:48:35 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237850 Archived-At: > From: Stefan Monnier > Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, gregory@heytings.org, > visuweshm@gmail.com > Date: Sun, 24 Jul 2022 11:48:35 -0400 > > >> Not only more intervals, but also more elements in the `plist`s of > >> each interval. > > Could be, if there are many different properties. But since we are > > talking about font-lock, there's only one we are talking about: 'face'. > > `face` may be the one we care about, but there will be others > (especially in the case you were talking about, i.e. the impact of > non-display-related faces) In general, sure. But this particular discussion is about the difference in performance between font-lock being on and off, and in that case the only property that counts is 'face'. If you are thinking about non-display-related properties, you are in the wrong thread ;-) That one was raised by Joćo in another discussion.