Skip to content

Replace bucketed map with parallel_hash_map #6729

Closed
@murphyatwork

Description

Refactoring request

Is your refactoring request related to a problem? Please describe.

Current code in BE implement thread-safe hash map with bucketed strategy many times, which is trivial and redundant.

That could be replaced with phmap::parallel_flat_hash_map with a bucket parameter and a mutex, which is more clear.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions