mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Miscellaneous [#CLICKHOUSE-2].
This commit is contained in:
parent
8f0e833b52
commit
9ad1d5676a
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user