From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#58558: 29.0.50; re-search-forward is slow in some buffers Date: Thu, 13 Apr 2023 20:05:34 +0000 Message-ID: <87mt3blf8x.fsf@localhost> References: <877d10r21x.fsf@localhost> <874jtyuqax.fsf@localhost> <83zgbqm8q6.fsf@gnu.org> <87sfhit8ug.fsf@localhost> <83tu1ym6jo.fsf@gnu.org> <87h6xyt77x.fsf@localhost> <87h6ttkz6n.fsf@localhost> <838rf5qkpt.fsf@gnu.org> <87lej0zv92.fsf@localhost> <83ttxol6f5.fsf@gnu.org> <87h6tolybs.fsf@localhost> <87zg7e8xnt.fsf@localhost> <83ttxmab7x.fsf@gnu.org> <87sfd5b4oy.fsf@localhost> <8735559ncj.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18348"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58558@debbugs.gnu.org, Alan Mackenzie , Eli Zaretskii , larsi@gnus.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 13 22:04:23 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 1pn3B9-0004ZM-HB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Apr 2023 22:04:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pn3Aq-0007Sf-CX; Thu, 13 Apr 2023 16:04:04 -0400 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 1pn3Ao-0007SR-Vh for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 16:04:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pn3Ao-0005Y0-MS for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 16:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pn3Ao-0001NZ-1s for bug-gnu-emacs@gnu.org; Thu, 13 Apr 2023 16:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Apr 2023 20:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58558 X-GNU-PR-Package: emacs Original-Received: via spool by 58558-submit@debbugs.gnu.org id=B58558.16814161965249 (code B ref 58558); Thu, 13 Apr 2023 20:04:02 +0000 Original-Received: (at 58558) by debbugs.gnu.org; 13 Apr 2023 20:03:16 +0000 Original-Received: from localhost ([127.0.0.1]:44825 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pn39u-0001MS-Br for submit@debbugs.gnu.org; Thu, 13 Apr 2023 16:03:16 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:59607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pn39r-0001Lw-Cq for 58558@debbugs.gnu.org; Thu, 13 Apr 2023 16:03:05 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 991352404DE for <58558@debbugs.gnu.org>; Thu, 13 Apr 2023 22:02:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1681416177; bh=6dRcNPFEUZP9azPczJEOWKRtBC9QBinLS3i27gmI960=; h=From:To:Cc:Subject:Date:From; b=Hwjuj0XLq4LcZECc8QtiWXL9Ot1WtGa9vhS9neNcWcFp7URt3VutEj/CZscN6c7d+ ngItdgE1hdyEzqN/ZTaKS9JPV2dwwVQLI3gsIlxKfQPDXEmpR7cw5U3u6MfHepYD7k 3ZU6E1KyXB4PklEmIViNwzV9+J6819yHCOxEyEwcpQJNk2IIoBhkaYVjgx20H/t9+H B+cd+qScPtNxvCS6fyTcII0Nle3hRoOBeoBa7NZR+gHur8YekNRD4BvfjOj8kr3GWd +CM13Z1SC8ADH74ErWL9Q/z9ZhqLQDJ9tX5eAV45h6vptoFS/K4svdHo8jZNbKTi21 XxKPHDT1u49aA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Py9VT062Qz6tww; Thu, 13 Apr 2023 22:02:56 +0200 (CEST) In-Reply-To: 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:259877 Archived-At: Stefan Monnier writes: > diff --git a/src/fns.c b/src/fns.c > index e92ef7e4c81..591b00103da 100644 > --- a/src/fns.c > +++ b/src/fns.c With this patch, I see no significant difference in time taken by re-search-forward with and without parse-sexp-lookup-properties: patch + workaround (setting parse-sexp-lookup-properties to nil) Re-search time: 0.735682 sec. patch + no workaround (leaving parse-sexp-lookup-properties to t) Re-search time: 0.841605 sec. no patch + workaround Re-search time: 0.745678 sec. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at