-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
lib/dictBuilder/zdict.h
has the ZDICT_trainFromBuffer
function to train a dictionary. There's other API (e.g. ZDICT_params_t
, ZDICT_finalizeDictionary
) that lets you create a dictionary from your own training algorithm. But that other API is not stable: it's behind an #ifdef ZDICT_STATIC_LINKING_ONLY
guard, and my (Go) program does not static-link zstd.
See #1776 for motivation.
I know that "just bless the existing unstable API as stable" can be easier said than done. I just want a zstd-the-project issue to point people to if I'm asked why my program doesn't support zstd-the-format dictionaries yet.
Cyan4973, terrelln, mcmilk and CAFxX