Zstd dictionaries are now completely separate from the main data stream (data file).
And to combine them, the developer must design a custom stream (file) format. And in this case, compatibility with the official zstd utility disappears.
There is absolutely no wish to refuse compatibility with the official zstd utility!
Therefore, there is an idea. It is necessary to add a new frame type to the zstd stream, which will contain the dictionary and its identifier. This frame can be located anywhere in the stream, but always before its use.
If this idea is approved by Yann Collet, then I can start doing pull request.
Zstd dictionaries are now completely separate from the main data stream (data file).
And to combine them, the developer must design a custom stream (file) format. And in this case, compatibility with the official
zstdutility disappears.There is absolutely no wish to refuse compatibility with the official
zstdutility!Therefore, there is an idea. It is necessary to add a new frame type to the zstd stream, which will contain the dictionary and its identifier. This frame can be located anywhere in the stream, but always before its use.
If this idea is approved by Yann Collet, then I can start doing pull request.