From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#45320: 27.1; diff-refine performance regression Date: Wed, 08 Jun 2022 09:50:46 +0300 Organization: LINKOV.NET Message-ID: <86h74vmywp.fsf@mail.linkov.net> References: <87a6ua5i4b.fsf@Rainer.invalid> <87h74wk898.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25990"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 45320@debbugs.gnu.org, Achim Gratz To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 08 08:58:18 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 1nypdy-0006bO-Gp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jun 2022 08:58:18 +0200 Original-Received: from localhost ([::1]:44752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nypdx-0001SE-95 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jun 2022 02:58:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nypYs-0004QJ-69 for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 02:53:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nypYr-0007N0-Qz for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 02:53:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nypYr-0003jj-Nw for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2022 02:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jun 2022 06:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45320 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 45320-submit@debbugs.gnu.org id=B45320.165467112814303 (code B ref 45320); Wed, 08 Jun 2022 06:53:01 +0000 Original-Received: (at 45320) by debbugs.gnu.org; 8 Jun 2022 06:52:08 +0000 Original-Received: from localhost ([127.0.0.1]:42276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nypY0-0003ic-H2 for submit@debbugs.gnu.org; Wed, 08 Jun 2022 02:52:08 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:44489) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nypXy-0003i5-J5 for 45320@debbugs.gnu.org; Wed, 08 Jun 2022 02:52:07 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 3C1C3FF804; Wed, 8 Jun 2022 06:51:58 +0000 (UTC) In-Reply-To: <87h74wk898.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Jun 2022 13:44:51 +0200") 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:233950 Archived-At: >> 2. not be attempted at all >> >> a) when the hunk size exceeds a customizable threshold, > > That should be possible... This looks like the recently added outline-default-rules (that also can be used for diff-mode outlines, but not for diff-refine) with such possible values: - `subtree-has-long-lines' to only show the heading branches when long lines are detected in its subtree (see `outline-default-long-line' for the definition of long lines). - `subtree-is-long' to only show the heading branches when its subtree contains more than `outline-default-line-count' lines.