package zstandard

  1. Overview
  2. Docs
type t = {
  1. k : int;
    (*

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

    *)
  2. d : int;
    (*

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

    *)
  3. steps : int;
    (*

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

    *)
  4. nb_threads : int;
    (*

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

    *)
  5. 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 (1.0), 1.0 when all samples are used for both training and testing

    *)
}
val default : t

Some default, reasonable, value for the parameters

OCaml

Innovation. Community. Security.