rsx: Import robin-hood unordered map which is much faster than std

This commit is contained in:
kd-11 2023-06-09 00:08:59 +03:00 committed by kd-11
parent 105205312b
commit 2df7e46cb1
2 changed files with 2570 additions and 0 deletions

2551
3rdparty/robin_hood/include/robin_hood.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,19 @@
#pragma once
#ifdef RSX_USE_STD_MAP
#include <unordered_map>
namespace rsx
{
template<typename T, typename U>
using unordered_map = std::unordered_map<T, U>;
}
#else
#include "3rdparty/robin_hood/include/robin_hood.h"
namespace rsx
{
template<typename T, typename U>
using unordered_map = ::robin_hood::unordered_map<T, U>;
}
#endif