Improved hamming distance performance: byte-level lookup