Skip to content

Conversation

btea
Copy link
Contributor

@btea btea commented Oct 5, 2025

Rollup Plugin Name: {name}

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:

Description

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

@shellscape
Copy link
Collaborator

As always thanks for the PR. I'm not going to approve this, however. It's a micro-optimization at the expense of readability with no clear advantage that any typical user will realize.

@btea
Copy link
Contributor Author

btea commented Oct 5, 2025

Yes, this is a very limited modification unless there is extensive triggering logic. Feel free to turn it off, thanks for the review.

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