![]() |
JaffarPlus
High-performance best-first search optimizer for tool-assisted speedruns
|
Hash functor for 128-bit state hashes (std::pair<uint64_t, uint64_t>). More...
Public Member Functions | |
| size_t | operator() (const jaffarCommon::hash::hash_t &h) const noexcept |
| Combines the two 64-bit halves of a state hash into a size_t. | |
Hash functor for 128-bit state hashes (std::pair<uint64_t, uint64_t>).
Lets a state hash key an unordered_map for O(1) duplicate-state lookup.
Definition at line 261 of file playback.hpp.
|
inlinenoexcept |
Combines the two 64-bit halves of a state hash into a size_t.
| h | The 128-bit state hash to reduce. |
Definition at line 268 of file playback.hpp.