mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
███████████: alloc fill memory with zeros at every call [#METR-11892]
This commit is contained in:
parent
13830c960d
commit
c60096564a
@ -120,7 +120,7 @@ template <size_t N = 64>
|
|||||||
class HashTableAllocatorWithStackMemory : private HashTableAllocator
|
class HashTableAllocatorWithStackMemory : private HashTableAllocator
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
char stack_memory[N]{};
|
char stack_memory[N];
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void * alloc(size_t size)
|
void * alloc(size_t size)
|
||||||
|
Loading…
Reference in New Issue
Block a user