Skip to content

Use C++20 string_view starts_with/ends_with methods. NFC#8722

Merged
sbc100 merged 1 commit into
mainfrom
starts_with
May 18, 2026
Merged

Use C++20 string_view starts_with/ends_with methods. NFC#8722
sbc100 merged 1 commit into
mainfrom
starts_with

Conversation

@sbc100
Copy link
Copy Markdown
Member

@sbc100 sbc100 commented May 18, 2026

Also, remove the extra suffix size check from ends_with. (I could alternatively add this to starts_with instead, but I assumes its not a useful optimization?).

Also, remove the extra suffix size check from ends_with.  (I could
alternatively add this to `starts_with` instead, but I assumes its not
a useful optimization?).
@sbc100 sbc100 requested a review from a team as a code owner May 18, 2026 19:23
@sbc100 sbc100 requested review from aheejin and kripken and removed request for a team May 18, 2026 19:23
@sbc100 sbc100 enabled auto-merge (squash) May 18, 2026 19:47
@sbc100 sbc100 merged commit 0005bc8 into main May 18, 2026
16 checks passed
@sbc100 sbc100 deleted the starts_with branch May 18, 2026 20:15
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.

2 participants