Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: improve RefStateEditor.set performance #221

Merged

Conversation

Azurewarth0920
Copy link
Collaborator

  • Use worst: O(n + m), best: O(n) algorithm on RefStateEditor.set.
  • Fix the key that cannot be deleted if the new and old value have the same length of keys.

Copy link

netlify bot commented Feb 3, 2024

Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit c6a7404
🔍 Latest deploy log https://app.netlify.com/sites/vue-devtools-docs/deploys/65be6527fbad1700094854c4

@webfansplz webfansplz changed the title feat(perf): optimize RefStateEditor.set performance perf: optimize RefStateEditor.set Feb 4, 2024
@webfansplz webfansplz changed the title perf: optimize RefStateEditor.set perf: improve RefStateEditor.set performance Feb 4, 2024
@webfansplz webfansplz merged commit 112ecb7 into vuejs:main Feb 4, 2024
6 checks passed
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