mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-07 21:13:55 +00:00
[core] Switch to ankerl::unordered_dense
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -15,9 +15,10 @@
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <numeric>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#include "3party/ankerl/unordered_dense.h"
|
||||
|
||||
namespace df
|
||||
{
|
||||
class DrapeMeasurer
|
||||
@@ -183,7 +184,7 @@ private:
|
||||
uint32_t m_minFPS = std::numeric_limits<uint32_t>::max();
|
||||
double m_totalFPS = 0.0;
|
||||
uint32_t m_totalFPSCount = 0;
|
||||
std::unordered_map<uint32_t, uint32_t> m_fpsDistribution;
|
||||
ankerl::unordered_dense::map<uint32_t, uint32_t> m_fpsDistribution;
|
||||
|
||||
std::chrono::time_point<std::chrono::steady_clock> m_startImmediateRenderingTime;
|
||||
uint32_t m_immediateRenderingMinFps = std::numeric_limits<uint32_t>::max();
|
||||
|
||||
Reference in New Issue
Block a user