Skip to content

Instantly share code, notes, and snippets.

@kunigami
Created March 29, 2018 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kunigami/7c7ec74d51003695380b5150cfa2a32c to your computer and use it in GitHub Desktop.
Save kunigami/7c7ec74d51003695380b5150cfa2a32c to your computer and use it in GitHub Desktop.
fn hash(value: &String) -> u32 {
farmhash::hash32(&value.as_bytes())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment