-
Notifications
You must be signed in to change notification settings - Fork 23
Add hashing for coordinate class #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looks good to me, lets go with that then |
|
Would be great to get a solution with minimal collisions. Additionally, some sort of testing would be nice to make sure this compiles and runs on all systems. In any case, this is delayed until next release. |
|
@JoshEliades are you willing to write some tests for this implementation? If not maybe @nhatdongdang can do it |
|
I can write some tests for the implementation |
|
inside |
Please do not do unseeded randomisation in tests |
|
added seed |
|
Implemented in #114 |

Added hash algorithm for Coordinate object using XOR, bit shifts and prime multiplication