Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement Hash of object #120
Open
Comments
|
I note that in go1.14 the go team have exported the internal hasher This makes That said we could start with a much simpler hashing function. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have to calculate the hash according to the type of Object and return a value.
There is currently
M__hash__but it is not implemented in any Object.First, we have to implement
M__hash__of numbers and strings(int, float, complex, string).This is also necessary for the implementation of the dictionary.