From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#31853: 27.0.50; binding case-fold-search is slow when there are many buffers Date: Sat, 30 Jun 2018 11:19:53 +0300 Message-ID: <83tvpkn0t2.fsf@gnu.org> References: <83h8m31b7j.fsf@gnu.org> <837emz1829.fsf@gnu.org> <83h8m1tv5t.fsf@gnu.org> <83lgb6uh68.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1530346685 4152 195.159.176.226 (30 Jun 2018 08:18:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2018 08:18:05 +0000 (UTC) Cc: 31853@debbugs.gnu.org To: aaronjensen@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 30 10:18:01 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fZB4y-0000xr-Bv for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jun 2018 10:18:00 +0200 Original-Received: from localhost ([::1]:46061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZB75-0000ob-GN for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Jun 2018 04:20:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZB6z-0000oJ-B7 for bug-gnu-emacs@gnu.org; Sat, 30 Jun 2018 04:20:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZB6w-0002FL-5F for bug-gnu-emacs@gnu.org; Sat, 30 Jun 2018 04:20:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60650) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fZB6w-0002F7-1R for bug-gnu-emacs@gnu.org; Sat, 30 Jun 2018 04:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fZB6v-0007Vs-Oh for bug-gnu-emacs@gnu.org; Sat, 30 Jun 2018 04:20: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: Sat, 30 Jun 2018 08:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31853 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31853-submit@debbugs.gnu.org id=B31853.153034679728866 (code B ref 31853); Sat, 30 Jun 2018 08:20:01 +0000 Original-Received: (at 31853) by debbugs.gnu.org; 30 Jun 2018 08:19:57 +0000 Original-Received: from localhost ([127.0.0.1]:40314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fZB6r-0007VV-0O for submit@debbugs.gnu.org; Sat, 30 Jun 2018 04:19:57 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fZB6p-0007VE-2y for 31853@debbugs.gnu.org; Sat, 30 Jun 2018 04:19:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fZB6d-0001k7-So for 31853@debbugs.gnu.org; Sat, 30 Jun 2018 04:19:49 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fZB6d-0001jm-Or; Sat, 30 Jun 2018 04:19:43 -0400 Original-Received: from [176.228.60.248] (port=4028 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fZB6d-0003iI-43; Sat, 30 Jun 2018 04:19:43 -0400 In-reply-to: <83lgb6uh68.fsf@gnu.org> (message from Eli Zaretskii on Sat, 23 Jun 2018 09:54:07 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147993 Archived-At: > Date: Sat, 23 Jun 2018 09:54:07 +0300 > From: Eli Zaretskii > Cc: 31853@debbugs.gnu.org > > > From: Aaron Jensen > > Date: Fri, 22 Jun 2018 22:23:09 -0700 > > Cc: 31853@debbugs.gnu.org > > > > > > > On Sat, Jun 16, 2018 at 12:53 AM Eli Zaretskii wrote: > > > > > > In https://debbugs.gnu.org/cgi/bugreport.cgi?bug=18522#201 I proposed > > > > > > a change to set-default that would use FOR_EACH_LIVE_BUFFER. Could > > > > > > you see if that change helps in your case? > > > > > > > > With 148 live buffers and 6 hours of uptime, I'm up to about 23 > > > > microseconds. Still a far cry from 1ms. I'll keep testing. > > > > > > Thanks. > > > > I haven't noticed any slowdown yet. It seems to be an improvement. If > > you're good with the patch and could provide me with some text to > > write in the commit message (I roughly understand what it does, but I > > don't know anything about the other ramifications) I can send another > > patch. Otherwise, please feel free to use the patch and commit w/ your > > own message/name. > > There's no rush. Let's give this another week, and I will push the > change if no problems come up by that date. Pushed to master. Is there anything else to do in this bug, or should it be closed now? Thanks.