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