Skip to content

Speed up Array.prototype.slice on ArrayBuffers #980

Open
@gfwilliams

Description

@gfwilliams

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions