You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zo...@apache.org on 2023/06/27 11:31:05 UTC

[doris] branch master updated: [opt](hashmap) memset the hashmap memory to improve performance (#21225)

This is an automated email from the ASF dual-hosted git repository.

zouxinyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 609410d82b [opt](hashmap) memset the hashmap memory to improve performance (#21225)
609410d82b is described below

commit 609410d82b510ad0f8241fa533685d8441acdc5c
Author: HappenLee <ha...@hotmail.com>
AuthorDate: Tue Jun 27 19:30:57 2023 +0800

    [opt](hashmap) memset the hashmap memory to improve performance (#21225)
---
 be/src/vec/common/hash_table/phmap_fwd_decl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/common/hash_table/phmap_fwd_decl.h b/be/src/vec/common/hash_table/phmap_fwd_decl.h
index e9ec663637..6237341096 100644
--- a/be/src/vec/common/hash_table/phmap_fwd_decl.h
+++ b/be/src/vec/common/hash_table/phmap_fwd_decl.h
@@ -26,7 +26,7 @@ namespace doris::vectorized {
 /// `Allocator_` implements several interfaces of `std::allocator`
 /// which `phmap::flat_hash_map` will use.
 template <typename T>
-class Allocator_ : private Allocator<false, false, false> {
+class Allocator_ : private Allocator<true, false, false> {
 public:
     using value_type = T;
     using pointer = T*;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org