Contains with precomputed hash for F14Map and F14Set (#1063)
Summary: - Implement `contains(F14HashToken const& token, key_type const& key)` similar to the C++20 `contains(key_type const& key, size_t hash)` interface. Parameter order follows existing F14 interface, even though it differs from the C++20 interface. - Implement heterogeneous lookup overloads of `contains` of the above. Pull Request resolved: https://github.com/facebook/folly/pull/1063 Reviewed By: nbronson Differential Revision: D14500835 Pulled By: yfeldblum fbshipit-source-id: 85b0fbb66c2db948958e67105cf8ef98851ee0a6
Showing
Please register or sign in to comment