package compress
Import Path
github.com/klauspost/compress (on go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
compressible.go
Package-Level Functions (total 2)
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.
ShannonEntropyBits returns the number of bits minimum required to represent
an entropy encoding of the input bytes.
https://en.wiktionary.org/wiki/Shannon_entropy
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |