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#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers Date: Sun, 17 Dec 2023 08:04:34 +0200 Message-ID: <83bkapl5zh.fsf@gnu.org> References: <878r919qfh.fsf@localhost> <87y1dzvvf0.fsf@localhost> <83plzas3pg.fsf@gnu.org> <87r0jqw8u9.fsf@localhost> <83jzpis08a.fsf@gnu.org> <87il52w744.fsf@localhost> <83fs06rz10.fsf@gnu.org> <87fs06w4ui.fsf@localhost> <83bkaurut9.fsf@gnu.org> <87o7esq319.fsf@localhost> <83bkasrb3f.fsf@gnu.org> <83wmtgpuyf.fsf@gnu.org> <871qboprh3.fsf@localhost> <87y1dwobey.fsf@localhost> <878r5v20gu.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 66117@debbugs.gnu.org, mattias.engdegard@gmail.com, monnier@iro.umontreal.ca To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 17 07:06:19 2023 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 1rEkI6-0000go-N2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Dec 2023 07:06:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEkHq-0007Vb-Vf; Sun, 17 Dec 2023 01:06:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEkHp-0007VO-63 for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2023 01:06:01 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEkHo-0004SY-UC for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2023 01:06:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEkHp-0005E9-MT for bug-gnu-emacs@gnu.org; Sun, 17 Dec 2023 01:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Dec 2023 06:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66117 X-GNU-PR-Package: emacs Original-Received: via spool by 66117-submit@debbugs.gnu.org id=B66117.170279310320014 (code B ref 66117); Sun, 17 Dec 2023 06:06:01 +0000 Original-Received: (at 66117) by debbugs.gnu.org; 17 Dec 2023 06:05:03 +0000 Original-Received: from localhost ([127.0.0.1]:56504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEkGt-0005Cj-5S for submit@debbugs.gnu.org; Sun, 17 Dec 2023 01:05:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEkGq-0005C6-Gw for 66117@debbugs.gnu.org; Sun, 17 Dec 2023 01:05:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEkGj-00045B-16; Sun, 17 Dec 2023 01:04:53 -0500 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=vMATvLtTpvUg/Go2CDJrSWdjS1prTY9Nj8wQu0N8NNw=; b=f+7OfmEe67UN 9Lfc7WXSxrjNXr48XRxDf+GOMi5Ocd4YMAcNR0JK6QlqxKdY0H/zkN0ZdwLj0IbBulliQLjcQlKJ3 nIqnx4gFq+gERdVgxRf5bx3QKlRWoIkuMRFFB0WRAwtyd+ozuMQVlF+YeTexxmOfPz1Glj7wdS3KI QtAdOClemcg5Lviv8pj3Apw+AO9n0xddTvp0D52HXq71EGl7G7nc+w/YxenXXqRfAwHYibGwMTNaL KrhUZVpnrQaVbWzLkm0mTjvmDpcJzZq+IeVF0FLgyk3S8rG+SF7SNfsXGjrOSeXmthfbVXKlCslui 6+gNqkwkPuAt23IdWtSoTg==; In-Reply-To: <878r5v20gu.fsf@localhost> (message from Ihor Radchenko on Fri, 15 Dec 2023 11:01:53 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276404 Archived-At: > From: Ihor Radchenko > Cc: Eli Zaretskii , dmitry@gutov.dev, 66117@debbugs.gnu.org, > mattias.engdegard@gmail.com > Date: Fri, 15 Dec 2023 11:01:53 +0000 > > Stefan Monnier writes: > > >> Do I understand correctly that what is needed to implement your > >> suggestion is > >> > >> 1. Remove case_fold_search_ slot from buffer objects > >> 2. Use DEFVAR_LISP for case-fold-search > >> 3. Declare case-fold-search buffer-local > >> 4. Replace BVAR(...) references in C with Vcase_fold_search > > > > Yes (assuming that 3 refers to the use of `make-variable-buffer-local`). > > See the attached patch. Thanks, but I wonder what, if anything, we should say about this change in NEWS? Also, do any of the manuals require any changes wrt this?