[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 7e561d09d3
commit 0288b97b13
282 changed files with 4385 additions and 1457 deletions

View File

@@ -5,9 +5,10 @@
#include "drape/pointers.hpp"
#include "drape/shader.hpp"
#include <unordered_map>
#include <string>
#include "3party/ankerl/unordered_dense.h"
namespace dp
{
class GLGpuProgram : public GpuProgram
@@ -29,7 +30,7 @@ public:
glConst m_type = gl_const::GLFloatType;
};
using UniformsInfo = std::unordered_map<std::string, UniformInfo>;
using UniformsInfo = ankerl::unordered_dense::map<std::string, UniformInfo>;
UniformsInfo const & GetUniformsInfo() const;
uint32_t GetNumericUniformsCount() const { return m_numericUniformsCount; }