Skip to content

read() without allocating a buffer #13

Description

The Read trait from core and implemented by File defines a read() method that accepts a mutable buffer as an argument, which avoids performing unnecessary memory allocations. Does it make sense to have the random access storage ecosystem also use this pattern?

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

    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