Closed Alex1OPS closed 1 year ago
I have some intermediate results that I can bring and finalise as a PR if it is useful.
Looks like a useful functionality to have. I am open to PRs.
Here is a PR which enables multiple dict references #262.
@Alex1OPS , just released v1.5.5-3 with this change included
Is there any plan to support setting
ZSTD_d_refMultipleDDicts
and enabling the usage of multiple dictionaries in a decompression context? It seems like a very useful feature in production, taking into account the evolution of the dictionary over time.Currently, we're using a workaround using
getDictIdFromFrame
andgetDictIdFromDict
to select the correct dictionary from a hashmap for a particular message, but the zstd itself seems to support such functionality throughZSTD_DCtx_selectFrameDDict
link.