Skip to content

Rework lettuce argument splitter regex#13736

Merged
trask merged 1 commit intoopen-telemetry:mainfrom
laurit:lettuce-regex
Apr 22, 2025
Merged

Rework lettuce argument splitter regex#13736
trask merged 1 commit intoopen-telemetry:mainfrom
laurit:lettuce-regex

Conversation

@laurit
Copy link
Copy Markdown
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