Skip to content

Instantly share code, notes, and snippets.

@whille
Created April 2, 2014 15:08
Show Gist options
  • Save whille/9936088 to your computer and use it in GitHub Desktop.
Save whille/9936088 to your computer and use it in GitHub Desktop.
hash_sim = (bin(xor).count('0'))/float(d))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment