-
Notifications
You must be signed in to change notification settings - Fork 52
Feat: Prowlhash test suite #179
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
base: development
Are you sure you want to change the base?
Feat: Prowlhash test suite #179
Conversation
Could you explain the StableHash a bit more? |
GetHashCode: The default GetHashCode method in .NET can produce different hash codes for the same object in different runs of the application. This is because the default implementation may use the object's memory address, which can/will change between runs. StableHash: The StableHash method aims to produce the same hash code for the same object across different runs. This is achieved by using a deterministic seed and by hashing the object's state rather than its memory address |
If im not mistaken StableHash works by the objects ability to convert to string? Im not entirely against this it does make sense to have a stable option, just curious how this method behaves compared to the default GetHashCode. |
Also if you don't mind me asking whats your original reasoning/intention for having a deterministic hashcode? |
Prowlhash
dependent on #177