Skip to content

Array vs TypedArray performance question #2926

@albe

Description

@albe

I see a huge performance difference for the two that I can't explain from the documented behavior of new UInt32Array(ArrayBuffer, offset, length)

https://gist.github.com/albe/39c7b79f46daa49d2cf373ffab3c4513

Can someone explain why this is significantly slower than new array + array assignments?

I'd really like to understand this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions