Registry / utility / steakknife-hamming

steakknife-hamming

JSON →
library0.0.0-20180906055917-c99c65617cd3gogounverified

Package hamming provides optimized Hamming distance and population count calculations in Go, with assembly-optimized versions for amd64.

go get github.com/steakknife/hamming
INSTALL
IMPORT
SIG · STEAKKNIFE-HAMMING
S
steakknife-hamming
utilitygov0.0.0-20180906055917-c99c65617cd3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hamming
github.com/steakknife/hamming

Computes the population count (number of set bits) of a value.

package main import ( "fmt" "github.com/steakknife/hamming" ) func main() { fmt.Println(hamming.CountBits(0b1010)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180906055917-c99c65617cd3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
steakknife-hamming — go get steakknife-hamming · libregistry