Robin map and robin set implemented

Robin map and robin set implemented, like Skyline, for more performance.
This commit is contained in:
Franco
2023-09-17 21:36:38 -03:00
parent bbfd9eb428
commit 249c3c1015
57 changed files with 152 additions and 143 deletions
+3 -2
View File
@@ -4,8 +4,9 @@
#include <string>
#include <optional>
#include <unordered_map>
#include <tsl/robin_map.h>
#include <boost/container_hash/hash.hpp>
#include "common/logging/log.h"
#include "core/core.h"
#include "core/hle/service/ipc_helpers.h"
@@ -326,7 +327,7 @@ private:
};
static_assert(sizeof(LogPacketHeader) == 0x18, "LogPacketHeader is an invalid size");
std::unordered_map<LogPacketHeaderEntry, std::vector<u8>> entries{};
tsl::robin_map<LogPacketHeaderEntry, std::vector<u8>> entries{};
LogDestination destination{LogDestination::All};
};