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: Fri, 05 Aug 2022 12:20:20 +0000 Message-ID: <92da07bd028e3ede61a6@heytings.org> References: <05388e8d8812bfa3695d@heytings.org> <83v8rf5894.fsf@gnu.org> <65cb7c73fd4a999cca00@heytings.org> <8c7321f2f3400a5db9be@heytings.org> <8c7321f2f388e5343475@heytings.org> <8c7321f2f36494299e61@heytings.org> <8c7321f2f336523624e3@heytings.org> <83r1202meh.fsf@gnu.org> <6020ffaf-9069-0070-76cf-a13379ef01b5@yandex.ru> <83les71ilg.fsf@gnu.org> <06c5560d-3009-e5a5-3d33-fe5d2ec32d6b@yandex.ru> <74ddc877f17a06d8f120@heytings.org> <100d08b3-c25b-683f-6def-39052107ab59@yandex.ru> <83h72r16g1.fsf@gnu.org> <640c2e07-98e1-96d6-bb02-19f5f03f637f@yandex.ru> <834jyq29o1.fsf@gnu.org> 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="2651"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 Fri Aug 05 14:23:49 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 1oJwMn-0000U4-JU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 14:23:49 +0200 Original-Received: from localhost ([::1]:43388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJwMm-0003bB-FW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 08:23:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJwK6-0000Oq-K3 for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 08:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJwK6-00066W-AR for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 08:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJwK6-0008J1-6P for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 08:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 12:21: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.165970202331851 (code B ref 56682); Fri, 05 Aug 2022 12:21:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 5 Aug 2022 12:20:23 +0000 Original-Received: from localhost ([127.0.0.1]:56544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwJS-0008Hf-NA for submit@debbugs.gnu.org; Fri, 05 Aug 2022 08:20:22 -0400 Original-Received: from heytings.org ([95.142.160.155]:40358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwJR-0008HW-Gj for 56682@debbugs.gnu.org; Fri, 05 Aug 2022 08:20:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1659702020; bh=pVXbdn0erQPUeZgLBqbxVIHU5BarpZwFhru6VGVcqvQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=JLtn/maXrDLNVtz4UnYgdUIQm8DIlZYC/pNRW2H2Rp1a3B93i41t8qAswe28Zv4L3 dmThVdG5Rr4z5CIbM8onnCAuRQRHDEEMeuWZpFjI3xJnGm+dxrH7gwrjxVQahXAa3f 2v8TrnQiq180CYogcvCzU+5/ATbLMbUIGha73ogLLajD36bSaVd/60eoKuieIH4ar/ 27CDckmIfRCJ95F2ss47h4r0pEvVMBcm0sRROcWSwJIvBNctBRJtKyLjNSkJGPmmDm wjDnJtHRskMk5z2y8hPLF6uP+2w9MRl95ro0cGHp6ONaMZ6I27UEz59ketyH8OamFa Ze60ED7lMP+Ww== In-Reply-To: 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:238892 Archived-At: > > Like, we're going from a 255 (?) second delay to 2 second delay already > without breaking fontification. And yet you're eager to go from 2 > seconds down to ~0 and sacrifice highlighting correctness? > Yes. Because as I told you your 2 seconds are 4 for me and 8 for Eli and 20 for someone else. And that's in a relatively small file. Note that if it were 2/4/8/20 seconds once, and then no further slowdowns while editing the file, that would perhaps be okay. But that's not the case, you will regularly see a similar 2/4/8/20 seconds delay.