Skip to content

Meter regex namespace compilation and matching work - #1236

Merged
mgomes merged 2 commits into
masterfrom
mgomes/meter-regex-namespace
Sep 6, 2026
Merged

Meter regex namespace compilation and matching work#1236
mgomes merged 2 commits into
masterfrom
mgomes/meter-regex-namespace

Conversation

@mgomes

@mgomes mgomes commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Regex namespace calls could spend native work without proportional step charges. Account for compilation, repeated searches, capture state, and replacement processing while preserving literal searches and existing pattern limits.

Depends on #1235.

M1 Max benchmarks: replacement loop allocations 17.1 to 29.8 KB (749 to 989 allocations); dense deletion 1.16 to 0.162 ms; sparse scan 5.1 to 5.5 µs; long literal 7.67 to 0.0081 ms.

@mgomes

mgomes commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-06T22:28:22.887490Z 623c3ba Draft marked ready
🔒 Security Review Completed 2026-09-06T22:29:34.945991Z 623c3ba Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 17929daed5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mgomes

mgomes commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 623c3ba97c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Base automatically changed from mgomes/bound-regexp-union to master September 6, 2026 22:27
@mgomes
mgomes marked this pull request as ready for review September 6, 2026 22:27
@mgomes
mgomes merged commit a1b0f0a into master Sep 6, 2026
10 checks passed
@mgomes
mgomes deleted the mgomes/meter-regex-namespace branch September 6, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant