Skip to content

Rework lettuce argument splitter regex #13736

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2025
Merged

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Apr 18, 2025

Resolves #13720
Improve value<...> matching by including everything up to > followed by a space or end of input. Also relax the matching for non-key/value args to include all non-whitespace characters. I'd expect these changes to result in fast matching because a regex is fast when it matches and now this regex always matches.

@laurit laurit marked this pull request as ready for review April 21, 2025 07:49
@laurit laurit requested a review from a team as a code owner April 21, 2025 07:49
@trask trask merged commit 12cbfe9 into open-telemetry:main Apr 22, 2025
86 checks passed
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.

High CPU overhead on LettuceArgSplitter
3 participants