github.com/steakknife/hamming (go): Package hamming distance calculations in Go  https://github.com/steakknife/hamming  For functions named CountBits.+s?.  The plural forms are for slices. The CountBits.+ forms are Population Count only, where the bare-type forms are Hamming distance (number of bits different) between two values.  Optimized assembly .+PopCnt forms are available on amd64, and operate just like the regular forms (Must check and guard on HasPopCnt() first before trying to call .+PopCnt functions).  Got rune? use int32 Got uint8? use byte  https://github.com/steakknife/hamming  https://github.com/steakknife/hamming  https://github.com/steakknife/hamming  https://github.com/steakknife/hamming  https://github.com/steakknife/hamming  https://github.com/steakknife/hamming  MIT license
Keywords: algorithms|binary|go|golang