-
-
Notifications
You must be signed in to change notification settings - Fork 670
Improve typedarray's map allocations #821
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 typedarray's map allocations #821
Conversation
Hmm, unlike |
Yes, but |
Does AS explicitly prevent .map being able to edit the original array (3rd param to the function)? Since in JS you have access to the array, is it possible to edit it (reducing the length maybe) which would be a problem? |
@DanielRX No, typed arrays hasn't "set" accessor for |
Good argument with |
I switched to manual allocs without |
LGTM! Do you know if there are other uses of |
It seems rest |
Not sure is it necessary optimization. @dcodeIO wdyt?