Fast hamming distance function in Julia that returns a distance matrix

I do not know if this is the most efficient way for matrices, but for pair-wise Hamming distance this way was the fastest I could find:

1 Like