Skip to content

Conversation

@btea
Copy link
Contributor

@btea btea commented Jul 6, 2024

Description

When the array contents are relatively small, using string comparison directly seems to be more efficient than calling includes. test case

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-dev patak-dev added the p2-nice-to-have Not breaking anything but nice to have (priority) label Jul 8, 2024
@bluwy bluwy merged commit c4a2227 into vitejs:main Jul 15, 2024
@btea btea deleted the refactor/replace-includes branch July 15, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2-nice-to-have Not breaking anything but nice to have (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants