Open beniz opened 10 years ago
First version is in 52461e02a03a5e31f1b4225f75ec199ab1421abc using murmurhash2 to hash serialized discrete states.
Remains to add an option for choosing between perfect hashing (using serialized state string) or hashing with potential, though low probability, collisions.
map stores pointer of state as key, should be able to use it as key of an unordered_map.