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
[Quesiton] About the performance of utils.removeItems #3106
Comments
I've tested , use :
Everything is OK and with better performance . |
Here is some reading: #2205
|
Oh, I think maybe different js engine will present different result . By the way , the Article at 2013 is too old , maybe the conclusion is out. |
Landscape changes for sure, but like I mentioned the big one for us is that splice creates a new array and we certainly dont want that garbage. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I found utils.removeItems is this :
Why don't use :
I think arr.splice is more fast than current utils.removeItems
The text was updated successfully, but these errors were encountered: