Commit b477e61f authored by Rye Mutt's avatar Rye Mutt 🍞
Browse files

Swap capability map to an unordered_map to reduce find overhead. So. Many. Finds.

parent e7323985
......@@ -79,6 +79,7 @@
#include "llcorehttputil.h"
#include "llcallstack.h"
#include "absl/container/node_hash_map.h"
#include <boost/lexical_cast.hpp>
#include "llweb.h"
#include "llcurrencywrapper.h"
......@@ -100,7 +101,7 @@ BOOL LLViewerRegion::sVOCacheCullingEnabled = FALSE;
S32 LLViewerRegion::sLastCameraUpdated = 0;
S32 LLViewerRegion::sNewObjectCreationThrottle = -1;
typedef std::map<std::string, std::string> CapabilityMap;
typedef absl::node_hash_map<std::string, std::string> CapabilityMap;
static void log_capabilities(const CapabilityMap &capmap);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment