Skip to content

Conversation

@Azurewarth0920
Copy link
Collaborator

@Azurewarth0920 Azurewarth0920 commented Jan 3, 2024

Set.has has O(1) performance, which is faster than Array.includes's O(n).

@netlify
Copy link

netlify bot commented Jan 3, 2024

Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit 4061396
🔍 Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/65956f5ec4295c00084adebc

@webfansplz webfansplz changed the title feat(pref): Use faster Set.has instead of Array.includes in searching VueBuiltins perf: use Set.has instead of Array.includes Jan 4, 2024
@webfansplz webfansplz merged commit c8eba5a into vuejs:main Jan 4, 2024
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.

3 participants