Skip useless paren-captures in regexps

Edit
ID 3275
Title Skip useless paren-captures in regexps
Topic Performance
Created 2021-08-04 22:18:31
Last modified 2021-09-01 17:05:53 (3 years, 3 months ago)
Latest email 2021-08-24 18:29:01 (3 years, 3 months ago)
Status
2021-09: Committed
Target version
Authors Tom Lane (tgl)
Reviewers Mark Dilger (hornschnorter)Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/3275
git checkout commitfest/cf/3275
Emails
Another regexp performance improvement: skip useless paren-captures
First at 2021-08-04 22:15:34 by Tom Lane <tgl at sss.pgh.pa.us>
Latest at 2021-08-24 18:29:01 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (alternate-fix-zero-quantified-nested-parens.patch) at 2021-08-10 02:20:33 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (alternate-fix-zero-quantified-nested-parens.patch) at 2021-08-10 02:20:33 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (fix-zero-quantified-nested-parens.patch) at 2021-08-09 23:31:41 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (let-regexp_replace-use-NOSUB.patch) at 2021-08-09 19:14:45 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (optimize-useless-captures-3.patch) at 2021-08-08 20:25:00 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (optimize-useless-captures-2.patch) at 2021-08-08 17:04:38 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (optimize-useless-captures-1.patch) at 2021-08-04 22:15:34 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
History
When Who What
2021-09-01 17:05:53 Tom Lane (tgl) Changed reviewers to Mark Dilger (hornschnorter)
2021-09-01 17:05:27 Tom Lane (tgl) Closed in commitfest 2021-09 with status: Committed
2021-09-01 17:05:27 Tom Lane (tgl) Changed committer to tgl
2021-08-04 22:18:51 Tom Lane (tgl) Changed authors to Tom Lane (tgl)
2021-08-04 22:18:31 Tom Lane (tgl) Attached mail thread 2219936.1628115334@sss.pgh.pa.us
2021-08-04 22:18:31 Tom Lane (tgl) Created patch record
Edit