Skip to content

Using ReadonlySpan for params parameter in Net 9 + #118

Open
@NotAsea

Description

@NotAsea

Net 9+ allow you use any collection that support IEnumerable<T> for params , we should take advantage of it and add overload that take params ReadonlySpan<T> to completely remove memory allocation when passing parameter.

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