Function hashCode

  • Generate hash code. This selected function is the result of benchmarking various hash functions. This version performs well and can hash 10^6 documents in ~3s with on average 100 collisions.

    Parameters

    Returns number