-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
refactor(router-core): getEnumerableOwnKeys fast path for 'no symbol key' common case, 6-11% faster replaceEqualDeep #6448
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
refactor(router-core): getEnumerableOwnKeys fast path for 'no symbol key' common case, 6-11% faster replaceEqualDeep #6448
Conversation
…key' common case, 6-11% faster replaceEqualDeep
📝 WalkthroughWalkthroughReworks internal key-enumeration in router-core: adds an Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Comment |
|
View your CI Pipeline Execution ↗ for commit a459a7a
☁️ Nx Cloud last updated this comment at |
This entire PR is basically just this one line: most objects going through
replaceEqualDeepwon't have symbols, so return early if that's the case:Summary by CodeRabbit
Refactor
Tests
✏️ Tip: You can customize this high-level summary in your review settings.