Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Estimate ¶
Estimate returns a normalized compressibility estimate of block b. Values close to zero are likely uncompressible. Values above 0.1 are likely to be compressible. Values above 0.5 are very compressible. Very small lengths will return 0.
func ShannonEntropyBits ¶
ShannonEntropyBits returns the number of bits minimum required to represent an entropy encoding of the input bytes. https://en.wiktionary.org/wiki/Shannon_entropy
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package fse provides Finite State Entropy encoding and decoding.
|
Package fse provides Finite State Entropy encoding and decoding. |
This file contains the specialisation of Decoder.Decompress4X and Decoder.Decompress1X that use an asm implementation of thir main loops.
|
This file contains the specialisation of Decoder.Decompress4X and Decoder.Decompress1X that use an asm implementation of thir main loops. |
internal
|
|
cpuinfo
Package cpuinfo gives runtime info about the current CPU.
|
Package cpuinfo gives runtime info about the current CPU. |
snapref
Package snapref implements the Snappy compression format.
|
Package snapref implements the Snappy compression format. |
Package zstd provides decompression of zstandard files.
|
Package zstd provides decompression of zstandard files. |
Click to show internal directories.
Click to hide internal directories.