zstandard

OCaml bindings to Zstandard
type t = {
k : int;(*

Segment size : constraint: 0 < k : Reasonable range 16, 2048+

*)
d : int;(*

dmer size : constraint: 0 < d <= k : Reasonable range 6, 16

*)
f : int;(*

log of size of frequency array : constraint: 0 < f <= 31 : 1 means default(20)

*)
steps : int;(*

Number of steps : Only used for optimization : 0 means default (40) : Higher means more parameters checked

*)
nb_threads : int;(*

Number of threads : constraint: 0 < nbThreads : 1 means single-threaded : Only used for optimization : Ignored if ZSTD_MULTITHREAD is not defined

*)
split_point : float;(*

Percentage of samples used for training: Only used for optimization : the first nbSamples * splitPoint samples will be used to training, the last nbSamples * (1 - splitPoint) samples will be used for testing, 0 means default (0.75), 1.0 when all samples are used for both training and testing

*)
accel : int;(*

Acceleration level: constraint: 0 < accel <= 10, higher means faster and less accurate, 0 means default(1)

*)
}