hash multimethod
Methods
- hash(x:Any)
Calculate hash value. Same function that Hash uses internally. Currently Fowler-Noll-Vo (FNV) hash function. Returns
Int - unsigned 32 bit integerExample
hash(100) # 100, Numbers are mapped to themselves. hash("A") # 84696414 hash("AB") # 276232888