mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
Add comment.
This commit is contained in:
parent
014d3c889f
commit
031c15cb0e
@ -1,6 +1,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
|
/// DenseHashMap is a wrapper for google::dense_hash_map.
|
||||||
|
/// Some hacks are needed to make it work in "Arcadia".
|
||||||
|
/// "Arcadia" is a proprietary monorepository in Yandex.
|
||||||
|
/// It uses slightly changed version of sparsehash with a different set of hash functions (which we don't need).
|
||||||
|
/// Those defines are needed to make it compile.
|
||||||
#if defined(ARCADIA_BUILD)
|
#if defined(ARCADIA_BUILD)
|
||||||
#define HASH_FUN_H <unordered_map>
|
#define HASH_FUN_H <unordered_map>
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
/// DenseHashSet is a wrapper for google::dense_hash_set.
|
||||||
|
/// See comment in DenseHashMap.h
|
||||||
#if defined(ARCADIA_BUILD)
|
#if defined(ARCADIA_BUILD)
|
||||||
#define HASH_FUN_H <unordered_map>
|
#define HASH_FUN_H <unordered_map>
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
/// SparseHashMap is a wrapper for google::sparse_hash_map.
|
||||||
|
/// See comment in DenseHashMap.h
|
||||||
#if defined(ARCADIA_BUILD)
|
#if defined(ARCADIA_BUILD)
|
||||||
#define HASH_FUN_H <unordered_map>
|
#define HASH_FUN_H <unordered_map>
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
Reference in New Issue
Block a user