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
Milestone

Comments

@hueniverse
Copy link
Member

@hueniverse 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 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.