Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteXor ¶
ByteXor Compute the XOR of given byte arrays returns error if the bytes are not of same length
func CommonPrefixLen ¶
CommonPrefixLen computes the Common Prefix Length of the given byte slices. It XORs them and find the leading zeroes.
func LogDistance ¶
LogDistance Log dist: length - leading zero count
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.