Skip to content

perf: use string-match-p where match data is unused#5020

Merged
jcs090218 merged 1 commit intoemacs-lsp:masterfrom
kevinji:string-match-p
Mar 23, 2026
Merged

perf: use string-match-p where match data is unused#5020
jcs090218 merged 1 commit intoemacs-lsp:masterfrom
kevinji:string-match-p

Conversation

@kevinji
Copy link
Copy Markdown
Contributor

@kevinji kevinji commented Mar 20, 2026

This avoids allocating match data when it is unused.

@github-actions github-actions Bot added the client One or more of lsp-mode language clients label Mar 20, 2026
@jcs090218 jcs090218 merged commit 9a2513c into emacs-lsp:master Mar 23, 2026
15 of 18 checks passed
@jcs090218
Copy link
Copy Markdown
Member

Merged! Thank you!

@kevinji kevinji deleted the string-match-p branch March 23, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client One or more of lsp-mode language clients performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants