Skip to content

Reuse Writer for zlib benchmark #1

Description

@klauspost

You should use the Reset function to decrease the number of allocations. If you want a real-life scenario, use a sync.Pool to contain your "used" Writers.

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