Skip to content

Akka.Remote: design System.Memory APIs for all Transport implementations #6059

@Aaronontheweb

Description

@Aaronontheweb

Is your feature request related to a problem? Please describe.

In order for #3740 to have any real-world benefit, the Transport implementations that consume the output from serialization also need to support System.Memory constructs so we can avoid unnecessary copying.

Describe the solution you'd like

Ideally, we should replace all byte[] parameter overloads with Memory<T> or ReadOnlySequence<T> etc. Needs a full spec.

Related: Artery APIs will need to support this from day 1 #4007

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions