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

Speed up Array.prototype.slice on ArrayBuffers #980

Open
gfwilliams opened this issue Nov 24, 2016 · 0 comments
Open

Speed up Array.prototype.slice on ArrayBuffers #980

gfwilliams opened this issue Nov 24, 2016 · 0 comments

Comments

@gfwilliams
Copy link
Member

It looks like .slice iterates to get to the start index (because it's used to working with Sparse arrays).

jsvIterator should provide a jsvIteratorGotoIndex function that goes to the index in the fastest way for what it's iterating over. It could speed up quite a lot of built in functionality when it's used on Typed Arrays.

... also it'd make #58 work much better as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant