ClickHouse/dbms
Marek Vavruša 45bd332460 AggregateFunctionTopK: fix memory usage, performance
* allow separate table key / hash key, and use
  std::string / StringRef for generic variant as
  it has built-in storage and StringRef is supported
  by the hash table, this avoids infinitely
  growing arena with serialised keys
* use power-of-2 size for alpha vector for faster
  binning without using modulo
* use custom grower and allocator for SpaceSaving
  to start with smaller tables
* store computed hash in counter for faster
  reinsertion of smallest element
2017-05-11 18:52:49 +04:00
..
benchmark Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
cmake Auto version update to [54233] 2017-05-03 22:47:57 +03:00
scripts Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
src AggregateFunctionTopK: fix memory usage, performance 2017-05-11 18:52:49 +04:00
tests Don't forget to ATTACH MATERIALIZED columns. [#CLICKHOUSE-1993] 2017-05-11 18:39:12 +04:00
CMakeLists.txt Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system 2017-05-05 16:59:18 -07:00