Skip to content

Training mode #1

@espadrine

Description

@espadrine

Zstd mentions support for a training mode, allowing it to maintain an internal dictionary so that small pieces of data can benefit from better compression.

We could offer this as an option, for instance:

var dictionary = zstd.train(buffer);
var compressed = zstd.compress(data, {dictionary: dictionary});

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