MCPcopy Create free account
hub / github.com/Adam-Vandervorst/PyBHV / stable_hash

Function stable_hash

bhv/shared.py:22–62  ·  view source on GitHub ↗

Python's `hash` is not stable. That's a problem if you want to use it for persistence and inter-run consistency. This one is hand rolled, so don't fully trust it. In fact, if you see anything suspicious, please let me know. :param d: Something you want to hash :return: The 16-byte m

(d, try_cache=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

stable_hashcodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected