From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Fri, 12 Aug 2022 13:47:29 +0300 Message-ID: <866e510d-a060-7daa-d002-97861d056fa7@yandex.ru> References: <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> <92da07bd028e3ede61a6@heytings.org> <47894c57-dd8b-5778-240a-3fa6540e4d37@yandex.ru> <92da07bd02941d5537e9@heytings.org> <5308e3b5-a160-17d7-77ee-b1d00acfa20d@yandex.ru> <92da07bd02a6cc861e1a@heytings.org> <837d3lzv8n.fsf@gnu.org> <2c8d6755-cfe2-6559-3fde-3fa30ffb411e@yandex.ru> <83mtcgy44k.fsf@gnu.org> <83k07jx5jn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16313"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: 56682@debbugs.gnu.org, gregory@heytings.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 12 12:48:41 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 1oMSDZ-00041e-RD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 12:48:41 +0200 Original-Received: from localhost ([::1]:33376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMSDY-000698-81 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 06:48:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMSCw-00068j-MU for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 06:48:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMSCv-00014C-V5 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 06:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMSCv-0006lQ-Qw for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 06:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2022 10:48: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.166030126525897 (code B ref 56682); Fri, 12 Aug 2022 10:48:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 12 Aug 2022 10:47:45 +0000 Original-Received: from localhost ([127.0.0.1]:55724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMSCe-0006jb-Rn for submit@debbugs.gnu.org; Fri, 12 Aug 2022 06:47:45 -0400 Original-Received: from mail-wm1-f50.google.com ([209.85.128.50]:42920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMSCc-0006im-Rt for 56682@debbugs.gnu.org; Fri, 12 Aug 2022 06:47:43 -0400 Original-Received: by mail-wm1-f50.google.com with SMTP id s11-20020a1cf20b000000b003a52a0945e8so353689wmc.1 for <56682@debbugs.gnu.org>; Fri, 12 Aug 2022 03:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=ejrw8qO6mRXf9prOw4yXhwHC2+mCAWHvyMr5+Hr3HnM=; b=WWviMbL72dOppXr39IOWIP28BhlNa1Z+4lHhVUHtTpFJEVMCX+eSErL51J8zkeRhy3 /A/p0ZlkUPMJFZkfeCjWFADd6C7Cl842sBaUGCdtPWf8jDzZJ7tzL48/4ugXxOmNRosB 9WohTE13TJP2o5cVPpJ7bThypyhxJYYoTMyetmioiQAZo0vpuSoQwBV6EGhjaG3KgEeq OhSpGosfFmqNFlsliHZoRN5Oxe2b+cEBInMRjricdbTltJRHFk0aTOAM8irxEzyZz3mt 9iukD5pDUoxBCmoq1zVJLNBY4KdX7iZmWHQ1uvvJfsnDyjO8gzCZ6jDe5bDsunuJKRL0 IMNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=ejrw8qO6mRXf9prOw4yXhwHC2+mCAWHvyMr5+Hr3HnM=; b=44D+epY9pnknUZBOZAIJrokZunrT2WxhBYiTwWKHuNlQXhV2LLZXKJv0+bPZB0npHv ZXs0zZjNaFmmG2NVIV1dLRCx8ywgzO5CwWSoyOfUblA73K7Cq25Fu/dmH8BMzleDh+LV 7f4X5gupv7aKF+vWveyH9vLmJVJqotWjFoKa9QAM9UXQ+qUrdX3StsY2JmGBx8I9g0eB ES1eSOywMtTErUP6H514qFZGGJnOhCDK1LIjV0vt93Bk/ZxDMBdKmudCrpOCeyNvCu/I eaeNNSV+o9DH7uWHOaK6eUn9/05ZbIcJxlxEJ3SWhoBdKJV5HkMBRJngplBR492V9/+K dEVg== X-Gm-Message-State: ACgBeo1HJmKZyniccNq+X1GUUxOBYHe94GziX9aHhK+UUyLEDEpWdWLR NBFA1D2YTmndOqlrDsyY9OI= X-Google-Smtp-Source: AA6agR7Nc8Pk9d1QZkT2E4gRevzNBvWu4wTyXzi6NbEsjlFNXvuAeUXNxgHYaUiVmCzLPmTOVkzmiQ== X-Received: by 2002:a05:600c:b57:b0:3a5:3c06:f287 with SMTP id k23-20020a05600c0b5700b003a53c06f287mr8274860wmr.148.1660301256076; Fri, 12 Aug 2022 03:47:36 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id p2-20020a1c5442000000b003a5c75bd36fsm2580507wmi.10.2022.08.12.03.47.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Aug 2022 03:47:33 -0700 (PDT) Content-Language: en-US In-Reply-To: <83k07jx5jn.fsf@gnu.org> 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:239397 Archived-At: On 07.08.2022 21:38, Eli Zaretskii wrote: >> Date: Sun, 7 Aug 2022 21:27:21 +0300 >> Cc:56682@debbugs.gnu.org,gregory@heytings.org,monnier@iro.umontreal.ca >> From: Dmitry Gutov >> >>> feel free to push a feature branch with your proposed >>> changes, or even install them as optional features on master, and >>> let's compare the merits and demerits of each idea in practical use >>> cases and on a variety of systems. >> I will. > Thanks. I've pushed a branch scratch/font_lock_large_files. Please try out different values of the new variable. Preferably test together with (setq bidi-inhibit-bpa t), to eliminate its contribution.