martinus / robin-hood-hashing

Fast & memory efficient hashtable based on robin hood hashing for C++11/14/17/20
https://gitter.im/martinus/robin-hood-hashing
MIT License
1.5k stars 142 forks source link

[feature request] support for PMR allocator #135

Closed zhouqingqing closed 2 years ago

zhouqingqing commented 2 years ago

Both std::unordered_map and std::unordered_set have an alias template that uses a polymorphic allocator (PMR). It is convenient for customized memory management. Will robin-hood-hashing support it?

martinus commented 2 years ago

nope, robin_hood uses a highly customized allocator that's not compatible with PMR.