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#63225: Compiling regexp patterns (and REGEXP_CACHE_SIZE in search.c) Date: Tue, 09 May 2023 15:56:09 +0000 Message-ID: <877cthbism.fsf@localhost> References: <63882A45-BD02-40D5-92FA-70175267BA3B@acm.org> <874jou7lsf.fsf@localhost> <37EED5F9-F1FE-46B6-B4FA-0B268B945123@gmail.com> <87wn1qqvj0.fsf@localhost> <34F4849A-CB39-4C96-9CC1-11ED723706DA@gmail.com> <87wn1psqny.fsf@localhost> <6DAF37F9-B236-4C33-8E30-0FCA47CCBCC5@gmail.com> <87zg6lfobh.fsf@localhost> <281B22C2-CD69-4495-A97C-E754446CA9A6@gmail.com> <87o7n1v1w3.fsf@localhost> <878E8D66-A548-42E6-B077-6068A8B131D8@gmail.com> <87ednvul22.fsf@localhost> <87y1m1oa01.fsf@localhost> <74CD5EF4-5424-40BA-8F80-D0FD89CB890F@gmail.com> <87zg6fjar6.fsf@localhost> <875y923964.fsf@localhost> <67AAB661-8B27-4D09-BF0D-6B76ABB54477@gmail.com> <871qjp1zn8.fsf@localhost> <83EDC4A9-5F1F-4A75-8271-BAFCC8943E53@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15851"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63225@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 09 17:54:21 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 1pwPfQ-0003ti-Po for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 May 2023 17:54:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwPf9-0004Pq-Pr; Tue, 09 May 2023 11:54:03 -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 1pwPf8-0004PK-Dy for bug-gnu-emacs@gnu.org; Tue, 09 May 2023 11:54:02 -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 1pwPf8-0007kT-5o for bug-gnu-emacs@gnu.org; Tue, 09 May 2023 11:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwPf7-0005VH-JP for bug-gnu-emacs@gnu.org; Tue, 09 May 2023 11:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 May 2023 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63225 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63225-submit@debbugs.gnu.org id=B63225.168364758821085 (code B ref 63225); Tue, 09 May 2023 15:54:01 +0000 Original-Received: (at 63225) by debbugs.gnu.org; 9 May 2023 15:53:08 +0000 Original-Received: from localhost ([127.0.0.1]:44186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwPeF-0005U0-JM for submit@debbugs.gnu.org; Tue, 09 May 2023 11:53:07 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:39679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwPeD-0005TT-OS for 63225@debbugs.gnu.org; Tue, 09 May 2023 11:53:06 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 94BCA2402CA for <63225@debbugs.gnu.org>; Tue, 9 May 2023 17:52:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1683647579; bh=V7iSldnoj/v8RKYqczXqKoQdRyGpSEWIf96Ic7vR7ng=; h=From:To:Cc:Subject:Date:From; b=kOVhBQ1WnAf0CvPxFjLBbDk5oV2pYvDd+qNpoQ/EhFlNXaXbmPS8PcI9AMODrSjj5 wdbu26+uX+B+AjaoIDC8b3p2wGzMfiS23XwsFgfyW6CZr2RWA/8zrQpYTlGGhXvW5f 0xXl1nqJfJZDT3DG0KxrjVZRfy3li2ERQwkPW2T4i3zbD/UYFf0FHZsqf6P9HxgRa9 YBnmpAe4pNHBn5QjXHeCicymDenotZsSuzNFYsutOq69T9einZNO4gc15d7AGg/grl DmHlH9PceYMrlltbe/cs0rZZR5SS5RZuqm3RHYmQ0eqBtmfDAZw/THJqHUUb3Jgn/5 v47X5cbV354xQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QG2jy4TjSz6tx0; Tue, 9 May 2023 17:52:54 +0200 (CEST) In-Reply-To: <83EDC4A9-5F1F-4A75-8271-BAFCC8943E53@gmail.com> 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:261424 Archived-At: Mattias Engdeg=C3=A5rd writes: > 9 maj 2023 kl. 14.02 skrev Ihor Radchenko : > >> - forward-line + skip-chars-forward :: (2.980 2 0.648) >> - beginning-of-line + looking-at-p :: (7.189 2 0.653) >> - beginning-of-line + skip-chars-forward :: (6.833 2 0.634) >> - forward-line + looking-at-p :: (3.180 2 0.663) > > You may want to try the small improvement to skip-chars-forward that just= arrived on master. I did not get anything meaningful here. Likely because my benchmark is not very stable (the above results did not stay the same for different Emacs session for example, except relative numbers). [in the same order] (4.171 2 0.420) (6.740 2 0.419) (5.977 1 0.210) (4.262 2 0.431) >> May you elaborate what is the blocker then? > > Mostly time, but also coming up with a design that is compatible and reas= onably future-safe, and convincing people that it's a good way forward (ass= uming it actually is). Emacs is a collaborative effort, after all. Then it is not a blocker, but rather "let's discuss it first in a dedicated, clearly marked thread". --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at