[core] Switch to ankerl::unordered_dense

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-11-24 17:34:56 +00:00
parent 03132c6877
commit ef6522ed28
282 changed files with 4386 additions and 1456 deletions

View File

@@ -8,9 +8,10 @@
#include <condition_variable>
#include <memory>
#include <mutex>
#include <unordered_set>
#include <vector>
#include "3party/ankerl/unordered_dense.h"
namespace dp
{
// This class MUST NOT run OpenGL-related tasks (which invoke OpenGL or contain any
@@ -147,7 +148,7 @@ private:
m_condition.notify_all();
}
std::unordered_set<uint64_t> m_finishedIds;
ankerl::unordered_dense::set<uint64_t> m_finishedIds;
uint64_t m_counter = 0;
bool m_finished = false;
std::condition_variable m_condition;