From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Thu, 04 Aug 2022 11:29:20 +0000 Message-ID: <3d639ea126e5f71c5ee4@heytings.org> References: <837d46mjen.fsf@gnu.org> <8335esjppt.fsf@gnu.org> <837d43j198.fsf@gnu.org> <83y1wjhkkh.fsf@gnu.org> <83wnc3hkdg.fsf@gnu.org> <49df74e5-e16a-a532-98d1-66c6ff1eb6c6@yandex.ru> <83pmhuft5a.fsf@gnu.org> <05388e8d8836c2e7ef3e@heytings.org> <136c4fe0fcb9ce5181cb@heytings.org> <3d639ea12689d767ba2a@heytings.org> <03dce9be-5c51-94d7-a32a-52ab7f57dde2@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31874"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, Eli Zaretskii , monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 04 13:31:26 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 1oJZ4W-00088q-D2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 13:31:24 +0200 Original-Received: from localhost ([::1]:37280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJZ4U-0005il-Sp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 07:31:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJZ3R-0005hz-89 for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 07:30:19 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJZ3D-0000Zl-4C for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 07:30:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJZ3D-0004Mq-0R for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 07:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Aug 2022 11:30:02 +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.165961256416660 (code B ref 56682); Thu, 04 Aug 2022 11:30:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 4 Aug 2022 11:29:24 +0000 Original-Received: from localhost ([127.0.0.1]:51436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJZ2a-0004Ke-2w for submit@debbugs.gnu.org; Thu, 04 Aug 2022 07:29:24 -0400 Original-Received: from heytings.org ([95.142.160.155]:38544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJZ2X-0004KV-KW for 56682@debbugs.gnu.org; Thu, 04 Aug 2022 07:29:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1659612560; bh=KEmuO4sZ6RsS17FdFy4Bbr6WEUjpDDFxYCPPXf1Vwjk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=cu3a5tVvgl8IRBmgxrd3Ub/RNfEPza3ZJqIxAdXLbiTJnhxHBbdBkw4anzni2FAeY AbA0sA7nQzZNN9EuiXB11X9f/qS67Nf1cLKSJkaNyoledNanrkMz21TsIn0cF9uhNe tx5PtlqQ35TL8oRykGJdDByN1XgsFzTmx9HqdoazZuElR0mKrGutmbobsfLj90RFf2 7Q8FP7+r5eW1JQbVuAw0D89IeJAD0nbyCNSda8cGqsv+I24tlN91NKNhrsST/1qked Ii3JLPDMJDJGqyLimladKzn/0Zi2/StZ1mitX10E23pQfxWoCz4eCNMmljQjeu8DS1 6bddOg6zVrInQ== In-Reply-To: <03dce9be-5c51-94d7-a32a-52ab7f57dde2@yandex.ru> 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:238725 Archived-At: > > So there is a particular performance problem with the display of > fontified buffers which I'd really like your help in fixing. > Thank you, but that problem has, as you can see, already been fixed. > > Fixing in a way that doesn't add narrowing around > fontification-functions, because as we can see it's not necessary in > examples like this. > As I said, your 88K example file is not representative. So the fact that it's not necessary in that tiny example file says nothing about much larger files. > > I think we could have both speed and correctness, at least for files of > this size. > Feel free to enlarge long-line-threshold in your init file.