diff --git a/dbms/src/Common/tests/integer_hash_tables_and_hashes.cpp b/dbms/src/Common/tests/integer_hash_tables_and_hashes.cpp index bce973ba223..0909b419cbe 100644 --- a/dbms/src/Common/tests/integer_hash_tables_and_hashes.cpp +++ b/dbms/src/Common/tests/integer_hash_tables_and_hashes.cpp @@ -10,7 +10,7 @@ #include //#define DBMS_HASH_MAP_COUNT_COLLISIONS -#define DBMS_HASH_MAP_DEBUG_RESIZES +//#define DBMS_HASH_MAP_DEBUG_RESIZES #include #include @@ -37,6 +37,7 @@ namespace Hashes } }; + /// Actually this is even worse than IdentityHash. struct SimpleMultiplyHash { size_t operator()(Key x) const @@ -267,10 +268,21 @@ namespace Hashes } +template +using HopscotchMap = tsl::hopscotch_map; + + template