Skip to content

Add support for Span<T> #8

Description

@jackmott

We should add support for Span, which would allow the use of these functions on stackalloc arrays and other memory sources. If we targeted only .NET 2.0 we could change the function signatures of all methods taking arrays to Spans, but if we want to support .NET Framework and Core 1.0 we need to duplicate every array function, and make a Span version.

As well, performance opportunities may exist if we use stackalloc arrays when appropriate inside our implementations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions