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

clone函数能否更新下? #3

Open
lefreet opened this issue Oct 20, 2018 · 0 comments
Open

clone函数能否更新下? #3

lefreet opened this issue Oct 20, 2018 · 0 comments

Comments

@lefreet
Copy link

lefreet commented Oct 20, 2018

看了内部实现是JSON.stringify,测试过lodash.clone,速度提升挺多的,主要考虑到树展开的情况,没必要用深度拷贝的吧?

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

No branches or pull requests

1 participant