control bytes field in absl::flat_hash_map do not aligned to 16 bytes
未關閉
- 主要語言
- C++
- 星號
- 18.1k
- 分支
- 3.2k
- 平均合併
- 20 小時 36 分鐘
- 30 天內合併 PR
- 1
描述
in absl/container/internal/raw_hash_set.h
` using Layout = absl::container_internal::Layout;`
Layout do not align ctrl_t field to 16 bytes like this
` using Layout = absl::container_internal::Layout, slot_type>;`
it is generally fine with default allocator, which aligned to 16 bytes for a large memory region by default. but when using custom allocator (maybe some kind of memory pool), ctrl_t maybe not aligned correctly for simd to get the best performence
貢獻指南
評估
這個 Issue 還沒有評估資料。