mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-28 00:43:38 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -10,9 +10,10 @@
|
||||
#include <condition_variable>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace base
|
||||
{
|
||||
// This class represents a simple thread pool with a queue of tasks.
|
||||
@@ -119,7 +120,7 @@ private:
|
||||
|
||||
using DelayedValue = std::shared_ptr<DelayedTask>;
|
||||
class DelayedQueue
|
||||
: public BidirectionalMap<TaskId, DelayedValue, std::unordered_map, std::hash<TaskId>, std::multimap,
|
||||
: public BidirectionalMap<TaskId, DelayedValue, ankerl::unordered_dense::map, std::hash<TaskId>, std::multimap,
|
||||
DeRef<DelayedValue>>
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user