From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58342: 29.0.50; noverlay branch is O(N) for important calls Date: Sat, 08 Oct 2022 09:08:02 -0400 Message-ID: References: <87edvkcz5v.fsf@rfc20.org> <878rlrfyje.fsf@rfc20.org> <87a6674bg4.fsf@rfc20.org> <83zge6ltto.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32505"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: gerd.moellmann@gmail.com, matt@rfc20.org, 58342@debbugs.gnu.org, mail@andreas-politz.de To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 08 15:10:58 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 1oh9bV-0008HP-Ul for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Oct 2022 15:10:58 +0200 Original-Received: from localhost ([::1]:48456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oh9bU-00055u-PY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Oct 2022 09:10:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh9Ze-0003u5-CM for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 09:09:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39510) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oh9Ze-0004aL-4I for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 09:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oh9Zd-0001xP-ST for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 09:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Oct 2022 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58342 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: gerd.moellmann@gmail.com, Matt Armstrong , bug-gnu-emacs@gnu.org, mail@andreas-politz.de Original-Received: via spool by submit@debbugs.gnu.org id=B.16652345097485 (code B ref -1); Sat, 08 Oct 2022 13:09:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Oct 2022 13:08:29 +0000 Original-Received: from localhost ([127.0.0.1]:38588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9Z6-0001wf-RV for submit@debbugs.gnu.org; Sat, 08 Oct 2022 09:08:29 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:55800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oh9Z2-0001wV-ND for submit@debbugs.gnu.org; Sat, 08 Oct 2022 09:08:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh9Yw-00036o-W8 for bug-gnu-emacs@gnu.org; Sat, 08 Oct 2022 09:08:23 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oh9Yp-0004TJ-0D; Sat, 08 Oct 2022 09:08:14 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A910D100189; Sat, 8 Oct 2022 09:08:04 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 31784100084; Sat, 8 Oct 2022 09:08:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1665234483; bh=j77v3UBLt+ah2/HoiGyfPnLkzl0O/7/ZbG4sShHrOy8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XZEK223L9MwroEBZWBGn6N/vUa6d6ZuSTZmOmzKEzTGKKaru/Btkp3RWdC2wCGizz HbHbk4hzL3GAZ+66HznMdiWLWm/Q/0c+KM/OSuKInJ2hATIcQziGRCU/WCwpR9PBg3 4reDyn+DZSlqhnqP3FsmVTJZCAChgKVaINd3PqAR5cF5xgcBo+3hsgNxWtb/Y16bEU Ti+DC0+/RbL+LET56tZ3vVjw50TbvVprhKS5YEITAAfw9CnkZJPubNvlBk1v/g6jlK NCQevpGJ6LfzzKYJB0eocUmwqqUT1EZl8YpAXBLPJYJYsXZmFkszCiVW+h4WX9432G a/H6iDhXUVUmg== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E70281203FE; Sat, 8 Oct 2022 09:08:02 -0400 (EDT) In-Reply-To: <83zge6ltto.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Oct 2022 09:20:51 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:244901 Archived-At: >> Does anybody know of an Emacs package that uses a large number of >> overlays that span large amounts of the buffer in complex ways? > > What are those "complex ways" you are talking about? > > In general, Isearch can potentially produce thousands of overlays, > especially if you do that in a buffer where lines are truncated. But > I don't know if that's what you are looking for. > > linum.el is another potential example: it produces an overlay for each > line. For the potential performance problem with next-overlay-change to appear you need overlays to overlap, so not something like linum or nhexl-mode. Maybe a package which places an overlay over every pair of matched parentheses in a Lisp buffer? Stefan