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

Improve clone() performance #344

Closed
hueniverse opened this issue Oct 17, 2019 · 0 comments
Closed

Improve clone() performance #344

hueniverse opened this issue Oct 17, 2019 · 0 comments
Assignees
Labels
bug Bug or defect
Milestone

Comments

@hueniverse
Copy link
Contributor

hueniverse commented Oct 17, 2019

When cloning an object with simple keys, Object.defineProperty() is an overkill. This gives a 3x performance gain for most cases.

@hueniverse hueniverse added the bug Bug or defect label Oct 17, 2019
@hueniverse hueniverse added this to the 8.3.2 milestone Oct 17, 2019
@hueniverse hueniverse self-assigned this Oct 17, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug or defect
Projects
None yet
Development

No branches or pull requests

1 participant