Hamming distance on binary strings in SQL
It appears that storing the data in a BINARY column is an approach bound to perform poorly. The only fast way to get decent performance is to split the content of the BINARY column in multiple BIGINT columns, each containing an 8-byte substring of the original data. In my case (32 bytes) this would mean … Read more