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. f : int;
    (*

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

    *)
  4. steps : int;
    (*

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

    *)
  5. nb_threads : int;
    (*

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

    *)
  6. 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

    *)
  7. accel : int;
    (*

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

    *)
}
OCaml

Innovation. Community. Security.