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: Fri, 05 Aug 2022 17:18:11 +0300 Message-ID: <83sfmazsd8.fsf@gnu.org> References: <837d46mjen.fsf@gnu.org> <8a3eaeef01be5bfaa5ef@heytings.org> <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> <92da07bd023885b58134@heytings.org> <9f6ad1f0-ca32-8cee-3ba6-bf5f6cd1ea76@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37084"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, gregory@heytings.org, 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 16:24: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 1oJyFU-0009Wx-Lf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 16:24:24 +0200 Original-Received: from localhost ([::1]:58514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJyFT-0006j0-Lw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 05 Aug 2022 10:24:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJyAI-0001cq-Jn for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 10:19:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42214) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJyAH-0005LS-Qz for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJyAH-0003v2-MW for bug-gnu-emacs@gnu.org; Fri, 05 Aug 2022 10:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Aug 2022 14: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.165970910015002 (code B ref 56682); Fri, 05 Aug 2022 14:19:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 5 Aug 2022 14:18:20 +0000 Original-Received: from localhost ([127.0.0.1]:60193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJy9b-0003tu-P1 for submit@debbugs.gnu.org; Fri, 05 Aug 2022 10:18:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJy9a-0003tf-5f for 56682@debbugs.gnu.org; Fri, 05 Aug 2022 10:18:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJy9U-0005IT-MO; Fri, 05 Aug 2022 10:18:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pdGduxte5djhG10GQdirQ6lYwLC3kWHV0HHkuICCDFM=; b=iO5AyXzGNsDe IoQc3WN98Xj6rGt/gardYg/YU7khlOqITxJAu0RjC+c3Yt6qx0XVPfO4EyN01Rt5TRaIn6acj5qRA MXw3R5vC1AKjpFTYntxC9V9nh7dpUoOvOpRl5+Mr5dGpMls4S/OIKBA5hBQRcd2NACIVtPd5ti8++ 7Xz3WMwobc0GbYFRN28t09rzAUq3xvZvn3PTJH4geqnqJhrAZPMW3XgksyeT5TgIJN6rMz62T9Xfq 17YIGxJSM3FxCBZ7oZGLWfTEZHELhXrQUcfYlL6gAZ4THbR87hL4jJKl318GttHe8X3Yd9qvmIX9z 8/0ltXeR/TdW4RqDWCe/6Q==; Original-Received: from [87.69.77.57] (port=1980 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 1oJy9U-0003mw-44; Fri, 05 Aug 2022 10:18:12 -0400 In-Reply-To: <9f6ad1f0-ca32-8cee-3ba6-bf5f6cd1ea76@yandex.ru> (message from Dmitry Gutov on Fri, 5 Aug 2022 15:19:45 +0300) 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:238924 Archived-At: > Date: Fri, 5 Aug 2022 15:19:45 +0300 > Cc: 56682@debbugs.gnu.org, Eli Zaretskii , > monnier@iro.umontreal.ca > From: Dmitry Gutov > > On 05.08.2022 11:23, Gregory Heytings wrote: > > No, because the point of considering extreme cases is that they reveal > > on your computer what happens on other people's less powerful computers > > with much smaller files. > > The problem with considering extreme cases, however, is that one can > also provide an even more extreme case no matter how we optimize our > implementations, which, with the chosen approach, will force us to > cripple or drop most features outright. The chosen approach does the same in a 10KB file and in 100GB file, so I don't understand what you have in mind here.