Skip to content

JsString.from_u16 creates an unnecessary copy of its input #84

@pvginkel

Description

@pvginkel

JsString.from_u16 is called a lot while taking a reference to memory on the GC heap. Because this function allocates, it first copies the input onto the native heap. This copy must be removed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions