Skip to content

Appending to compressed buffer should not mutate the buffer #15

Description

@ronanh

When small blocks are added to a compressed buffer, the end of the compressed buffer is rewritten to make a bigger block with better compression.

This behaviour is not transparent to the user and easily leads to panics when one needs to read and add to compressed buffers concurrently.

A better approach would be to recompress small blocks when the output buffer needs to grow.

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