Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

btea
Copy link
Member

@btea btea commented Aug 20, 2025

When determining the value of the first letter of a string, using strict equality is more efficient than startsWith. refer to link

@btea btea requested a review from zkochan as a code owner August 20, 2025 08:48
@zkochan zkochan merged commit 05dd45e into pnpm:main Aug 21, 2025
28 of 35 checks passed
@btea btea deleted the perf/replace-startsWith-with-strict-equality branch August 21, 2025 12:49
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.