Skip to content
Snippets Groups Projects
Commit bdc3a58d authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Prod name cache performance

parent b5aea2d0
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -34,6 +34,8 @@
#include "lluuid.h"
#include "v3dmath.h"
#include "boost/unordered_map.hpp"
class LLMessageSystem;
class LLHost;
......@@ -99,7 +101,7 @@ class LLLandmark
};
static std::pair<LLUUID, U64> mLocalRegion;
typedef std::map<LLUUID, CacheInfo> region_map_t;
typedef boost::unordered_map<LLUUID, CacheInfo> region_map_t;
static region_map_t mRegions;
typedef std::multimap<LLUUID, region_handle_callback_t> region_callback_map_t;
static region_callback_map_t sRegionCallbackMap;
......
......@@ -183,7 +183,7 @@ void ReplySender::flush()
typedef std::set<LLUUID> AskQueue;
typedef std::list<PendingReply*> ReplyQueue;
typedef std::map<LLUUID,U32> PendingQueue;
typedef boost::unordered_map<LLUUID,U32> PendingQueue;
typedef boost::unordered_flat_map<LLUUID, LLCacheNameEntry*> Cache;
typedef boost::unordered_flat_map<std::string, LLUUID, al::string_hash, std::equal_to<>> ReverseCache;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment