rsx: Import robin-hood unordered map which is much faster than std
This commit is contained in:
+2551
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
Reference in New Issue
Block a user