Miscellaneous [#CLICKHOUSE-2].

This commit is contained in:
Alexey Milovidov 2017-05-12 01:21:06 +03:00
parent 8f0e833b52
commit 9ad1d5676a

View File

@ -86,12 +86,11 @@ struct AggregateFunctionUniqExactData
using Key = T; using Key = T;
/// When creating, the hash table must be small. /// When creating, the hash table must be small.
typedef HashSet< using Set = HashSet<
Key, Key,
HashCRC32<Key>, HashCRC32<Key>,
HashTableGrower<4>, HashTableGrower<4>,
HashTableAllocatorWithStackMemory<sizeof(Key) * (1 << 4)> HashTableAllocatorWithStackMemory<sizeof(Key) * (1 << 4)>>;
> Set;
Set set; Set set;
@ -105,12 +104,11 @@ struct AggregateFunctionUniqExactData<String>
using Key = UInt128; using Key = UInt128;
/// When creating, the hash table must be small. /// When creating, the hash table must be small.
typedef HashSet< using Set = HashSet<
Key, Key,
UInt128TrivialHash, UInt128TrivialHash,
HashTableGrower<3>, HashTableGrower<3>,
HashTableAllocatorWithStackMemory<sizeof(Key) * (1 << 3)> HashTableAllocatorWithStackMemory<sizeof(Key) * (1 << 3)>>;
> Set;
Set set; Set set;