-
-
Notifications
You must be signed in to change notification settings - Fork 949
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: avoid unnecessary flat #1703
Conversation
🦋 Changeset detectedLatest commit: 1b5ea07 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ff9fca7
to
5675b7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
5675b7c
to
27e942b
Compare
Add changeset
To be fair I'd be shocked if the keys ever got over 12. I'm sure it is faster to access the index in any case and size add is minimal. |
In SUID there are 100 style properties, not counting those of the component itself, so almost all components are suffering a noticeable performance loss. I'm rewriting the
|
Pull Request Test Coverage Report for Build 4824514257Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Summary
splitProps
callsArray.prototype.flat
unnecessarily and this causes some delays when there are many keys.How did you test this change?