Description
Is your feature request related to a problem? Please describe.
First of all, thank you for adding the zstd
module in Erlang 28!
Over at the Apache CouchDB project we were looking forward to try out the new module for database compression and discovered that there is no dictionary training API in the zstd
module.
Describe the solution you'd like
A set of API functions in the zstd
module to train compression dictionaries. As a reference the Python module has something like that compression.zstd.train_dict maybe, maybe they could serve as an initial template?
Describe alternatives you've considered
Using the command line command to train the dictionary or simply starting a static dictionary trained on term_to_binary
result of some of our common objects we stores: docs, revision trees, etc.