Skip to content

Optimize implementation of Array.Fill. #7049

@jamesqo

Description

@jamesqo

The Array.Fill api which was just added is a very naive implementation. We should look into the perf benefits of implementing it in C++ and doing things like memset for bytes/avoiding multiple type-checks for reference types. Relevant comment: dotnet/coreclr#8137 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions