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: Tue, 16 Aug 2022 11:30:18 +0000 Message-ID: <325f95fd2bcc4d81c3a7@heytings.org> References: <1144021660321893@iva5-64778ce1ba26.qloud-c.yandex.net> <12348081660379417@sas2-a098efd00d24.qloud-c.yandex.net> <66bbbb95983414e79637@heytings.org> <83wnbckp0q.fsf@gnu.org> <8e884ebe-2d2e-d599-15c3-a5cfe5e6b295@yandex.ru> <83o7wnl7ok.fsf@gnu.org> <036414cc-c711-efaf-ed5b-f8ccfaca0604@yandex.ru> <5900f20836753183a6ac@heytings.org> <5c22e38a-5dcd-860e-28a0-b4a5ede6a21b@yandex.ru> <877d3awb92.fsf@localhost> <87pmh2z277.fsf@localhost> <87mtc6yzfv.fsf@localhost> <3a1232a17bf48a4a693e@heytings.org> <87lerp4tk1.fsf@localhost> <325f95fd2bdd2289114b@heytings.org> <87edxg31lm.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40951"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Stefan Monnier , Dmitry Gutov To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 13:33:19 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 1oNuow-000ARi-Qh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 13:33:19 +0200 Original-Received: from localhost ([::1]:43334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNuov-0001Xh-GS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 07:33:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNumk-0000kG-Be for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 07:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55370) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNumk-0001xg-2e for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 07:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNumj-0006b5-VQ for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 07:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 11:31: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.166064942321583 (code B ref 56682); Tue, 16 Aug 2022 11:31:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 16 Aug 2022 11:30:23 +0000 Original-Received: from localhost ([127.0.0.1]:45119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNum7-0005bQ-07 for submit@debbugs.gnu.org; Tue, 16 Aug 2022 07:30:23 -0400 Original-Received: from heytings.org ([95.142.160.155]:55638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNum3-0005Mo-U3 for 56682@debbugs.gnu.org; Tue, 16 Aug 2022 07:30:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1660649418; bh=AHt7AkLQSjkSRF7Sg26ixjZmnjRfUC8i1E4LrJ71/bU=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Apc0bRTIfC5C1V/fjlsLITGoF53fY9epgzQPUCEIzHIDfYY1OB+WuM657iiVW2l+9 Fd5At50h9R64eZjI6liRLA79ooc76//aVsKkBe094EjJlyqhhvMclNkhHr9pSd5h5n 9Fqom/+B2IVFqW7FZWhJLaWuiFdjzQ0leK8+cXkFv9XKlPfkIp+aQnLIs5ZLL+5Jnm l/6/ky9DXCAdg6Do5sUtNiWJi2SeI21fRFsXskrtytieq/wPopYOlHbLXIfbHWoHUh 7ivPybNmCbbyFey2Ol2PkH3TvN1tEvO3FavGmFZTvq9G4qu/Bvjf4pYeQ0l3GQranT hPyr1eXzi2LgQ== In-Reply-To: <87edxg31lm.fsf@localhost> 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:239900 Archived-At: >>> Cache existence is not guaranteed. >> >> Can that cache not be created unconditionally when the Org file is >> opened? > > Without cache, the parser will have to process everything on every > request to determine object at point. > I'm not sure I understand what you mean? If the cache is created when the Org file is opened and updated when necessary, its existence becomes guaranteed, no?