coolbutuseless / zstdlite

Fast, configurable in-memory compression of R objects with zstd
Other
26 stars 0 forks source link

Support building dictionaries from within R #10

Closed coolbutuseless closed 7 months ago

coolbutuseless commented 7 months ago

dictBuilder API is included in the single file build e.g. ZDICT_trainFromBuffer()

https://github.com/facebook/zstd/issues/3675 https://github.com/facebook/zstd/blob/dev/lib/README.md

coolbutuseless commented 7 months ago

zstd_train_dict_compress() and zstd_train_dict_serialize() added.

https://github.com/coolbutuseless/zstdlite/commit/6f57be54b53848cfa6b7883d1d0719cb2b06a30f