Skip to content

Allow in-place encoding #64

@nazar-pc

Description

@nazar-pc

Right now encoder allocates a vector for shards, where it copied the original data and eventually allows to read recovery data.

It wold be really nice if it was possible to provide correctly allocated slice of bytes right away and encode things in-place or at least a way to provide both input and output memory explicitly.

This would cut peak memory usage substantially in the use case I have.

Similar request is for decoder, though decoding is less frequent for me, so lower priority.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions