Skip to content

Use pmr monotonic buffer for regex compilation - #203

Merged
mkot2 merged 3 commits into
mainfrom
codex/introduce-pmr-monotonic-buffer-for-regex
Sep 7, 2025
Merged

Use pmr monotonic buffer for regex compilation#203
mkot2 merged 3 commits into
mainfrom
codex/introduce-pmr-monotonic-buffer-for-regex

Conversation

@mkot2

@mkot2 mkot2 commented Sep 7, 2025

Copy link
Copy Markdown
Owner

Summary

  • use std::pmr::monotonic_buffer_resource to back temporary regex workspaces
  • switch regex compilation vectors to std::pmr::vector
  • track heap allocation bytes in ProfileInfo

Testing

  • cmake -S . -B build
  • cmake --build build
  • ctest --test-dir build

https://chatgpt.com/codex/tasks/task_e_68bdb572fc3c8331aa61e270d9cb47b7

@mkot2
mkot2 merged commit 4a87d12 into main Sep 7, 2025
@mkot2
mkot2 deleted the codex/introduce-pmr-monotonic-buffer-for-regex branch September 7, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant